Skip to content

Commit 594ec76

Browse files
committed
CI: Require pip <19.2 for Python 3.4 in Travis
1 parent b70ee18 commit 594ec76

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
# for it to be on multiple physical lines, so long as you remember: - There
55
# can't be any leading "-"s - All newlines will be removed, so use ";"s
66

7+
os: linux
78
dist: xenial
8-
sudo: true
99
language: python
10-
1110
cache: pip
11+
1212
env:
1313
global:
14+
- SETUP_REQUIRES="pip setuptools>=30.3.0 wheel"
1415
- DEPENDS="six numpy<1.17dev scipy<1.3dev matplotlib h5py pillow pydicom"
1516
- OPTIONAL_DEPENDS=""
1617
- INSTALL_TYPE="setup"
@@ -19,15 +20,18 @@ env:
1920
- PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
2021
- EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS"
2122
- PRE_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS"
23+
2224
python:
2325
- 3.5
2426
- 3.6
2527
- 3.7
26-
matrix:
28+
29+
jobs:
2730
include:
2831
- python: 3.4
2932
dist: trusty
30-
sudo: false
33+
env:
34+
- SETUP_REQUIRES="pip<19.2 setuptools>=30.3.0 wheel"
3135
# Absolute minimum dependencies
3236
- python: 2.7
3337
env:
@@ -96,7 +100,7 @@ before_install:
96100
- virtualenv --python=python venv
97101
- source venv/bin/activate
98102
- python --version # just to check
99-
- travis_retry pip install -U pip setuptools>=27.0 wheel
103+
- travis_retry pip install -U $SETUP_REQUIRES
100104
- travis_retry pip install coverage
101105
- if [ "${CHECK_TYPE}" == "test" ]; then
102106
travis_retry pip install nose mock;

0 commit comments

Comments
 (0)