From 69b4572f59f0edff6f0fa0336d47bc3e2feec5c5 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 18 Apr 2020 18:38:34 +0100 Subject: Don't upload wheels on failure --- .travis.yml | 12 ++++++------ 1 file 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: -- cgit v1.2.3