summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-04-18 18:38:34 +0100
committerMichael Williamson <mike@zwobble.org>2020-04-18 18:38:34 +0100
commit69b4572f59f0edff6f0fa0336d47bc3e2feec5c5 (patch)
tree676c63b7a1a321130d79a4c4d60c5051a47e7043
parentdacaca7924dca109d89abf1fa5b73e795aa2362b (diff)
Don't upload wheels on failure
-rw-r--r--.travis.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index fffa239..5dc0bbe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,9 +22,9 @@ jobs:
script:
- export CIBW_TEST_REQUIRES="-r test-requirements.txt"
- export CIBW_TEST_COMMAND="nosetests {project}/tests"
- - python3 -m cibuildwheel --output-dir wheelhouse
- - twine check wheelhouse/*
- - twine upload wheelhouse/*.whl --skip-existing
+ - python3 -m cibuildwheel --output-dir wheelhouse &&
+ twine check wheelhouse/* &&
+ twine upload wheelhouse/*.whl --skip-existing
- if: tag =~ /^([0-9]+\.[0-9]+\.[0-9]+)(\.?(dev|a|b|rc)[0-9]+)?$/
name: "OS X wheels"
@@ -37,9 +37,9 @@ jobs:
script:
- export CIBW_TEST_REQUIRES="-r test-requirements.txt"
- export CIBW_TEST_COMMAND="nosetests {project}/tests"
- - python3 -m cibuildwheel --output-dir wheelhouse
- - twine check wheelhouse/*
- - twine upload wheelhouse/*.whl --skip-existing
+ - python3 -m cibuildwheel --output-dir wheelhouse &&
+ twine check wheelhouse/* &&
+ twine upload wheelhouse/*.whl --skip-existing
env:
global: