Skip to content

Commit

Permalink
Fix installation of Python toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Nov 13, 2017
1 parent f5a0d53 commit 0e3f6a6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ before_install:
- chmod +x "$HOME/.local/bin/travis_long"
install:
- |
if ! python3 -c "import pip"; then
if python3 -c "import pip"; then
python3 -m pip install --user -U setuptools
python3 -m pip install --user -U "pip>=$PIP_MINVER"
else
if ! python3 -c "import setuptools"; then
pushd /tmp
curl -L "https://github.com/pypa/setuptools/archive/v$SETUPTOOLS_MINVER.tar.gz" | tar xvfz -
Expand All @@ -70,9 +73,10 @@ install:
python3 setup.py install --user
popd
fi
python3 -m easy_install --user -U "setuptools>=$SETUPTOOLS_MINVER"
python3 -m easy_install --user -U "pip>=$PIP_MINVER"
fi
- python3 -m pip install --user --upgrade tox "pip>=$PIP_MINVER" setuptools
- python3 -m pip install --user --upgrade tox
- travis_long stack --no-terminal setup
- travis_long stack --no-terminal install scan -j4
- travis_long stack --no-terminal install -j4 --only-dependencies
Expand Down

0 comments on commit 0e3f6a6

Please sign in to comment.