Commit 525e5ede authored by Gökçen Nurlu's avatar Gökçen Nurlu

Add before_deploy checks for pyc files in TravisCI

This should stop the PyPI release stage if a `.pyc` exists in the
generated SOURCES.txt.
parent f25c12c2
...@@ -30,7 +30,9 @@ jobs: ...@@ -30,7 +30,9 @@ jobs:
install: skip install: skip
script: skip script: skip
after_success: true after_success: true
before_deploy: python bootstrap.py before_deploy:
- python bootstrap.py
- ! grep pyc setuptools.egg-info/SOURCES.txt
deploy: deploy:
provider: pypi provider: pypi
on: on:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment