Skip to content

Commit

Permalink
Fix build command
Browse files Browse the repository at this point in the history
  • Loading branch information
pganssle committed Nov 2, 2019
1 parent c8b1c03 commit b58e321
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -22,9 +22,12 @@ install:

script:
- tox
- echo $TOXENV
- if [[ $TOXENV == "build" ]]; then echo "Hi" && [ ! -e "dist/*.whl" ] && [ ! -e "dist/*.tar.gz" ]; fi
- ls dist
- |
if [[ $TOXENV == "build" ]]; then
# Check that exactly one tarball and one wheel are created
[ $(find . -iwholename 'dist/*.tar.gz' | wc -l) -eq 1 ]
[ $(find . -iwholename 'dist/*.whl' | wc -l) -eq 1 ]
fi
after_success:
- if [[ $TOXENV == "py" ]]; then tox -e coverage,codecov; fi

0 comments on commit b58e321

Please sign in to comment.