You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,8 @@ matrix:
6
6
fast_finish: true
7
7
include:
8
8
- env: TASK='flake8'
9
-
- env: TASK='pychecker'
10
-
- python: "2.6"
11
-
env: TASK='checkconfig'
9
+
- python: "2.7"
10
+
env: TASK='pychecker'
12
11
- python: "2.7"
13
12
env: TASK='checkconfig'
14
13
# - python: "3.2" # buildbot does not currently support Python 3
@@ -18,17 +17,22 @@ matrix:
18
17
# - python: "pypy" # issues with travis halting during buildbot setup
19
18
# env: TASK='checkconfig'
20
19
20
+
cache:
21
+
apt: true
22
+
directories:
23
+
- $HOME/.cache/pip # pip cache
24
+
21
25
script:
22
26
- "bash -ex .travis-ci.sh"
23
27
24
-
before_install:
25
-
- sudo apt-get update -qq
26
-
27
28
install:
28
29
# We need a minimum of 0.8.12, so install via pip
29
30
- sudo pip install buildbot==0.8.12
30
31
- if [ "$TASK" = "flake8" ]; then sudo pip install flake8; fi
31
-
- if [ "$TASK" = "pychecker" ]; then sudo pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download; fi
32
+
# 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
33
+
- if [ "$TASK" = "pychecker" ]; then sudo pip install --verbose http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download; fi
34
+
# 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
35
+
- if [ "$TASK" = "pychecker" ]; then sudo mkdir -p /pychecker/; sudo ln -s /usr/local/lib/python2.7/dist-packages/pychecker/checker.py /pychecker/checker.py; fi
0 commit comments