running tests before every pip deploy

This commit is contained in:
ari committed 2019-01-23 22:10:51 -05:00
1 parent 844408c6e3
commit 671ae5bc4a
2 files changed
+17 -8

No files matched your search

+12 -7
View File
@@ -6,13 +6,18 @@ cd ..
./bin/clean.sh
python setup.py sdist bdist_wheel
git add .
git commit
git push
if ./bin/run_tests.sh; then
python setup.py sdist bdist_wheel
git tag $(cat .version)
git push -u origin $(cat .version)
git add .
git commit
git push
twine upload dist/*
git tag $(cat .version)
git push -u origin $(cat .version)
twine upload dist/*
else
echo ">>> Stopped due to test failure!"
fi