Skip to content

Commit d908f41

Browse files
committed
chore(CI): work around Travis CI osx dpl python2.7 get-pip.py error
1 parent 53321c3 commit d908f41

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ script:
6262
python3 test.py
6363
fi
6464
65-
before_deploy: ls dist/
65+
before_deploy:
66+
- ls dist/
67+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
68+
brew upgrade python;
69+
python3 -m venv ~/venv;
70+
source ~/venv/bin/activate;
71+
fi
6672

6773
deploy:
6874
# deploy master non-tags to Test PyPI

0 commit comments

Comments
 (0)