From 7994d0132060b8d961f06ae2e8c87e19120e2476 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Wed, 16 Sep 2020 21:33:39 +0100 Subject: [PATCH] Change deploy script to fail on error --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e8604e418..ce457277d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -140,7 +140,7 @@ jobs: - stage: deploy name: Deploy source distribution and wheel install: skip - script: python3 setup.py sdist bdist_wheel - after_success: | - python3 -m pip install twine - python3 -m twine upload --repository testpypi --skip-existing dist/* + script: + - python3 setup.py sdist bdist_wheel + - python3 -m pip install twine + - python3 -m twine upload --repository testpypi --skip-existing dist/*