Skip to content

Commit

Permalink
maybe the bash path is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
nihlaeth committed Feb 26, 2017
1 parent 4f38914 commit 56937a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ script: python -m pytest --cov=user_config --cov-report xml -v
after_script: python-codacy-coverage -r coverage.xml
deploy:
- provider: script
script: HOME=$TRAVIS_BUILD_DIR TWINE_REPOSITORY=testpypi ./scripts/pypi_deploy.sh
script: HOME=$TRAVIS_BUILD_DIR TWINE_REPOSITORY=testpypi sh ./scripts/pypi_deploy.sh
on:
condition: $TRAVIS_PYTHON_VERSION = "3.6"
skip_cleanup: true
- provider: script
script: HOME=$TRAVIS_BUILD_DIR TWINE_REPOSITORY=pypi ./scripts/pypi_deploy.sh
script: HOME=$TRAVIS_BUILD_DIR TWINE_REPOSITORY=pypi sh ./scripts/pypi_deploy.sh
on:
tags: true
condition: $TRAVIS_PYTHON_VERSION = "3.6"
Expand Down
1 change: 0 additions & 1 deletion scripts/pypi_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash
echo 1
set -e
set +x # double-check that x is unset
Expand Down

0 comments on commit 56937a9

Please sign in to comment.