Skip to content

Commit 3a81706

Browse files
committed
Try implementing tests in 2.7 , 3.4...3.7 python.
1 parent 81bf37a commit 3a81706

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.travis.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,49 @@
11
language: python
22

33
# matrix:
4-
# - name: "python <= 3.6"
4+
# include:
5+
# - name: "python <= 3.6"
56
python:
67
- "2.7"
78
- "3.4"
89
- "3.5"
910
- "3.6"
11+
- "3.7"
1012

1113
# allow_failures:
1214
# - name: "Python >3.6"
1315
# python:
1416
# - "3.7" # not available in travis with 14.04 ubuntu base.
1517
# dist: xenial
1618

19+
# try:
20+
# define top level 5x2 matrix
21+
# python:
22+
# - "2.7"
23+
# - "3.4"
24+
# - "3.5"
25+
# - "3.6"
26+
# - "3.7"
27+
dist:
28+
- trusty
29+
- xenial
30+
#
31+
# filter in only trusty and python <= 3.6; xenial and python >= 3.7
32+
matrix:
33+
include:
34+
- name: "python <= 3.6"
35+
python:
36+
- "2.7"
37+
- "3.4"
38+
- "3.5"
39+
- "3.6"
40+
dist: trusty
41+
allow_failures:
42+
- name: "Python >3.6"
43+
python:
44+
- "3.7" # not available in travis with 14.04 ubuntu base.
45+
dist: xenial
46+
1747
sudo: false
1848

1949
addons:

0 commit comments

Comments
 (0)