Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #133 from bblfsh/fix_travis
Browse files Browse the repository at this point in the history
Use cwd as HOME to avoid permission errors on CI
  • Loading branch information
juanjux authored Oct 24, 2018
2 parents 335964d + b401be8 commit 7560b80
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ install:
- python3 setup.py --getdeps --log
- pip3 install . --upgrade
- if [[ -z "$TRAVIS_TAG" ]]; then exit 0; fi
- echo "[distutils]" > $HOME/.pypirc
- echo "index-servers = " >> $HOME/.pypirc
- echo " pypi" >> $HOME/.pypirc
- echo "[pypi]" >> $HOME/.pypirc
- echo "username=$PYPI_USER" >> $HOME/.pypirc
- echo "password=$PYPI_PASS" >> $home/.pypirc
- python setup.py sdist upload
- echo "[distutils]" > .pypirc
- echo "index-servers = " >> .pypirc
- echo " pypi" >> .pypirc
- echo "[pypi]" >> .pypirc
- echo "username=$PYPI_USER" >> .pypirc
- echo "password=$PYPI_PASS" >> .pypirc
- HOME=. python setup.py sdist upload
script:
- python3 setup.py build_ext -i
- python3 -m unittest discover .
Expand Down

0 comments on commit 7560b80

Please sign in to comment.