50
50
- secure : dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU=
51
51
# Variables controlling the build.
52
52
- MPLLOCALFREETYPE=1
53
+ # Variable for the location of an extra pip requirement file
54
+ - EXTRAREQS=
55
+ # Variable for the location of a pip version file
56
+ - PINNEDVERS=
53
57
# Variables controlling the test run.
54
58
- DELETE_FONT_CACHE=
55
59
- NO_AT_BRIDGE=1 # Necessary for GTK3 interactive test.
@@ -67,15 +71,15 @@ matrix:
67
71
- python : 3.5
68
72
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
69
73
env :
70
- - EXTRAREQS=' requirements/testing/travis35.txt'
74
+ - PINNEDVERS='-c requirements/testing/travis35.txt'
71
75
- python : 3.5
72
76
env :
73
77
# - PYTHONOPTIMIZE=2 # This currently doesn't work.
74
78
- python : 3.6
75
79
env :
76
80
- DELETE_FONT_CACHE=1
77
81
- PYTEST_ADDOPTS="$PYTEST_ADDOPTS --pep8"
78
- - EXTRAREQS='requirements/testing/travis36.txt'
82
+ - EXTRAREQS='-r requirements/testing/travis36.txt'
79
83
- python : " nightly"
80
84
env : PRE=--pre
81
85
- os : osx
@@ -119,8 +123,7 @@ install:
119
123
python -mpip install --upgrade pip setuptools wheel
120
124
- |
121
125
# Install dependencies from PyPI.
122
- python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt
123
- python -mpip install --upgrade $PRE -r $EXTRAREQS
126
+ python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS $PINNEDVERS
124
127
# GUI toolkits are pip-installable only for some versions of Python so
125
128
# don't fail if we can't install them. Make it easier to check whether the
126
129
# install was successful by trying to import the toolkit (sometimes, the
0 commit comments