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

Commit 7560b80

Browse files
authored
Merge pull request #133 from bblfsh/fix_travis
Use cwd as HOME to avoid permission errors on CI
2 parents 335964d + b401be8 commit 7560b80

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ install:
1818
- python3 setup.py --getdeps --log
1919
- pip3 install . --upgrade
2020
- if [[ -z "$TRAVIS_TAG" ]]; then exit 0; fi
21-
- echo "[distutils]" > $HOME/.pypirc
22-
- echo "index-servers = " >> $HOME/.pypirc
23-
- echo " pypi" >> $HOME/.pypirc
24-
- echo "[pypi]" >> $HOME/.pypirc
25-
- echo "username=$PYPI_USER" >> $HOME/.pypirc
26-
- echo "password=$PYPI_PASS" >> $home/.pypirc
27-
- python setup.py sdist upload
21+
- echo "[distutils]" > .pypirc
22+
- echo "index-servers = " >> .pypirc
23+
- echo " pypi" >> .pypirc
24+
- echo "[pypi]" >> .pypirc
25+
- echo "username=$PYPI_USER" >> .pypirc
26+
- echo "password=$PYPI_PASS" >> .pypirc
27+
- HOME=. python setup.py sdist upload
2828
script:
2929
- python3 setup.py build_ext -i
3030
- python3 -m unittest discover .

0 commit comments

Comments
 (0)