Skip to content
Permalink
Browse files

Try and fix the pychecker install

  • Loading branch information...
peternewman committed Jun 10, 2019
1 parent c7d10eb commit 9a1ef805855e2e7de2f7098b83b9c7643c28e132
Showing with 6 additions and 1 deletion.
  1. +6 −1 .travis.yml
@@ -213,13 +213,15 @@ matrix:
- os: linux
dist: xenial
env: TASK='pychecker'
python: '2.7'
addons:
apt:
packages:
- *base_build
- os: linux
dist: xenial
env: TASK='pychecker-wip'
python: '2.7'
addons:
apt:
packages:
@@ -236,6 +238,7 @@ matrix:
- os: linux
dist: xenial
env: TASK='pychecker-wip'
python: '2.7'
- os: linux
dist: xenial
env: TASK='spellintian'
@@ -288,7 +291,9 @@ install:
- if [ "$TASK" = "codespell" ]; then pip install --user git+https://github.com/codespell-project/codespell.git; fi
- if [ "$TASK" = "jshint" ]; then npm install -g grunt-cli; fi
# If this causes SSL errors, then Sourceforge is probably in disaster recovery mode and needing Javascript. Could switch to a specific mirror, e.g. kent.dl.sourceforge.net
- if [ "$TASK" = "pychecker" -o "$TASK" = "pychecker-wip" ]; then sudo pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download; fi
- if [ "$TASK" = "pychecker" -o "$TASK" = "pychecker-wip" ]; then pip install --user http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download; fi
# This is a very bodgy workaround to the fact that the pip install of the archive doesn't seem to work properly now on Travis
- if [ "$TASK" = "pychecker" -o "$TASK" = "pychecker-wip" ]; then sudo mkdir -p /pychecker/; sudo ln -s /home/travis/.local/lib/python2.7/site-packages/pychecker/checker.py /pychecker/checker.py; fi

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi

0 comments on commit 9a1ef80

Please sign in to comment.
You can’t perform that action at this time.