Skip to content

Commit d324e95

Browse files
authored
Merge pull request #409 from tomato42/py37
Travis fixups
2 parents 9912a51 + 11da40c commit d324e95

File tree

1 file changed

+44
-36
lines changed

1 file changed

+44
-36
lines changed

.travis.yml

Lines changed: 44 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
dist: trusty
2+
sudo: false
3+
cache: pip
14
language: python
25

36
# whitelist branches on which tests will be run
@@ -14,54 +17,51 @@ addons:
1417
- swig
1518
# needed for GMPY
1619
- libgmp-dev
20+
before_cache:
21+
- rm -f $HOME/.cache/pip/log/debug.log
1722

18-
python:
19-
- 2.6
20-
- 2.7
21-
- 3.3
22-
- 3.4
23-
- 3.5
24-
- 3.6
25-
- 3.7
26-
27-
# workaround for 3.7 not available in default configuration
28-
# travis-ci/travis-ci#9815
29-
dist: trusty
30-
sudo: false
31-
32-
env:
33-
- TACKPY=true
34-
- TACKPY=false
35-
36-
matrix:
37-
exclude:
38-
- env: TACKPY=true
39-
# workaround for 3.7 not available in default configuration
40-
# travis-ci/travis-ci#9815
41-
- python: 3.7
23+
jobs:
4224
include:
25+
- python: 2.6
26+
env: TACKPY=false
27+
- python: 2.7
28+
env: TACKPY=false
29+
- python: 3.3
30+
env: TACKPY=false
31+
- python: 3.4
32+
env: TACKPY=false
33+
- python: 3.5
34+
env: TACKPY=false
35+
- python: 3.6
36+
env: TACKPY=false
37+
- python: 3.7
38+
dist: xenial
39+
sudo: true
40+
env: TACKPY=false
41+
- python: 3.8
42+
dist: xenial
43+
sudo: true
44+
env: TACKPY=false
4345
- python: 2.7
4446
env: TACKPY=true
4547
- python: 3.4
4648
env: TACKPY=true
4749
- python: 2.7
4850
env: M2CRYPTO=true
49-
- python: 3.4
50-
env: M2CRYPTO=true
5151
- python: 3.5
5252
env: M2CRYPTO=true
5353
- python: 3.6
5454
env: M2CRYPTO=true
55-
# workaround for 3.7 not available in default configuration
56-
# travis-ci/travis-ci#9815
5755
- python: 3.7
5856
dist: xenial
5957
sudo: true
6058
env: M2CRYPTO=true
59+
- python: 3.8
60+
dist: xenial
61+
sudo: true
62+
env: M2CRYPTO=true
6163
- python: 2.7
6264
env: PYCRYPTO=true
63-
- python: 3.4
64-
env: PYCRYPTO=true
6565
- python: 3.5
6666
env: PYCRYPTO=true
6767
- python: 3.6
@@ -70,10 +70,14 @@ matrix:
7070
dist: xenial
7171
sudo: true
7272
env: PYCRYPTO=true
73+
# pycrypto doesn't work on Python 3.8 as time module doesn't have clock()
74+
# any more
75+
#- python: 3.8
76+
# dist: xenial
77+
# sudo: true
78+
# env: PYCRYPTO=true
7379
- python: 2.7
7480
env: GMPY=true
75-
- python: 3.4
76-
env: GMPY=true
7781
- python: 3.5
7882
env: GMPY=true
7983
- python: 3.6
@@ -82,10 +86,12 @@ matrix:
8286
dist: xenial
8387
sudo: true
8488
env: GMPY=true
89+
- python: 3.8
90+
dist: xenial
91+
sudo: true
92+
env: GMPY=true
8593
- python: 2.7
8694
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
87-
- python: 3.4
88-
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
8995
- python: 3.5
9096
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
9197
- python: 3.6
@@ -94,6 +100,10 @@ matrix:
94100
dist: xenial
95101
sudo: true
96102
env: M2CRYPTO=true PYCRYPTO=true GMPY=true CC_COV=true
103+
- python: 3.8
104+
dist: xenial
105+
sudo: true
106+
env: M2CRYPTO=true GMPY=true
97107

98108
before_install:
99109
- |
@@ -163,8 +173,6 @@ script:
163173
done
164174
fi
165175
166-
sudo: false
167-
168176
after_success:
169177
- travis_retry coveralls
170178
- if [[ $CC_COV == 'true' ]]; then coverage xml; ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi

0 commit comments

Comments
 (0)