5050 - secure : dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU=
5151 # Variables controlling the build.
5252 - 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=
5357 # Variables controlling the test run.
5458 - DELETE_FONT_CACHE=
5559 - NO_AT_BRIDGE=1 # Necessary for GTK3 interactive test.
@@ -67,15 +71,15 @@ matrix:
6771 - python : 3.5
6872 # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
6973 env :
70- - EXTRAREQS=' requirements/testing/travis35.txt'
74+ - PINNEDVERS='-c requirements/testing/travis35.txt'
7175 - python : 3.5
7276 env :
7377 # - PYTHONOPTIMIZE=2 # This currently doesn't work.
7478 - python : 3.6
7579 env :
7680 - DELETE_FONT_CACHE=1
7781 - PYTEST_ADDOPTS="$PYTEST_ADDOPTS --pep8"
78- - EXTRAREQS='requirements/testing/travis36.txt'
82+ - EXTRAREQS='-r requirements/testing/travis36.txt'
7983 - python : " nightly"
8084 env : PRE=--pre
8185 - os : osx
@@ -119,8 +123,7 @@ install:
119123 python -mpip install --upgrade pip setuptools wheel
120124 - |
121125 # 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
124127 # GUI toolkits are pip-installable only for some versions of Python so
125128 # don't fail if we can't install them. Make it easier to check whether the
126129 # install was successful by trying to import the toolkit (sometimes, the
0 commit comments