Skip to content

Commit

Permalink
Fix build broken due to Python's zipfile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Sep 16, 2017
1 parent 783fd17 commit c8f0b7b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .travis.yml
Expand Up @@ -16,6 +16,8 @@ matrix:
- python3.6
- libgmp10
- upx-ucl
env:
- PIP_MINVER=9.0.1 SETUPTOOLS_MINVER=36.5.0
cache:
directories:
- "$HOME/.stack"
Expand All @@ -39,12 +41,18 @@ before_install:
- curl -o "$HOME/.local/bin/travis_long" -L https://raw.githubusercontent.com/futurice/fum2github/master/travis_long
- chmod +x "$HOME/.local/bin/travis_long"
install:
- |
if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
pip3 install --user --upgrade tox pip setuptools
else
pip install --user --upgrade tox pip setuptools
- |
if ! python3 -c "import pip"; then
if ! python3 -c "import setuptools"; then
pushd /tmp
curl -L "https://github.com/pypa/setuptools/archive/v$SETUPTOOLS_MINVER.tar.gz" | tar xvfz -
cd setuptools-*/
python3 setup.py install --user
popd
fi
python3 -m easy_install --user -U "pip>=$PIP_MINVER"
fi
- python3 -m pip install --user --upgrade tox "pip>=$PIP_MINVER" setuptools
- travis_long stack --no-terminal setup
- travis_long stack --no-terminal install scan -j4
script:
Expand Down

0 comments on commit c8f0b7b

Please sign in to comment.