Skip to content

Commit

Permalink
source: /usr/bin/env: cannot execute binary file
Browse files Browse the repository at this point in the history
  • Loading branch information
dtreskunov committed Feb 7, 2020
1 parent d83bcbd commit 405f482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ deploy:
edge: true
# pass environment variables to the container without exposing them in the logs
script: |
env | sed 's/^/export /g' > env && \
env | sed 's/^/export /g' > env.source && \
docker run --rm \
-v "$(pwd):/io" \
-w /io \
--entrypoint bash \
library/python \
-c "source env && pip install twine && twine check wheelhouse/* && twine upload wheelhouse/*"
-c "source env.source && pip install twine && twine check wheelhouse/* && twine upload wheelhouse/*"
on:
all_branches: true
condition: $TRAVIS_TAG && $TWINE_USERNAME && $TWINE_PASSWORD

0 comments on commit 405f482

Please sign in to comment.