Skip to content

Commit 0ee007c

Browse files
authored
Fix CI (Travis) (#6704)
2 parents 4492904 + 12824e6 commit 0ee007c

File tree

1 file changed

+5
-30
lines changed

1 file changed

+5
-30
lines changed

.travis.yml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: python
2-
dist: xenial
3-
python: '3.7'
2+
dist: trusty
3+
python: '3.5.1'
44
cache: false
55

66
env:
@@ -16,36 +16,11 @@ install:
1616

1717
jobs:
1818
include:
19-
# OSX tests - first (in test stage), since they are the slower ones.
20-
# Coverage for:
21-
# - osx
22-
# - verbose=1
23-
- os: osx
24-
osx_image: xcode10.1
25-
language: generic
26-
env: TOXENV=py37-xdist PYTEST_COVERAGE=1 PYTEST_ADDOPTS=-v
27-
before_install:
28-
- which python3
29-
- python3 -V
30-
- ln -sfn "$(which python3)" /usr/local/bin/python
31-
- python -V
32-
- test $(python -c 'import sys; print("%d%d" % sys.version_info[0:2])') = 37
33-
34-
# Full run of latest supported version, without xdist.
35-
# Coverage for:
36-
# - pytester's LsofFdLeakChecker
37-
# - TestArgComplete (linux only)
38-
# - numpy
39-
# - old attrs
40-
# - verbose=0
41-
# - test_sys_breakpoint_interception (via pexpect).
42-
- env: TOXENV=py37-lsof-numpy-oldattrs-pexpect-twisted PYTEST_COVERAGE=1 PYTEST_ADDOPTS=
43-
python: '3.7'
44-
4519
# Coverage for Python 3.5.{0,1} specific code, mostly typing related.
4620
- env: TOXENV=py35 PYTEST_COVERAGE=1 PYTEST_ADDOPTS="-k test_raises_cyclic_reference"
47-
python: '3.5.1'
48-
dist: trusty
21+
before_install:
22+
# Work around https://github.com/jaraco/zipp/issues/40.
23+
- python -m pip install -U pip 'setuptools>=34.4.0' virtualenv
4924

5025
before_script:
5126
- |

0 commit comments

Comments
 (0)