Skip to content

Commit 5bf7bbf

Browse files
committed
Add Python 3.7 to Travis CI
1 parent 084b51e commit 5bf7bbf

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

.travis.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ conditions: v1
22

33
language: python
44

5-
dist: trusty
6-
sudo: false
7-
cache: pip
8-
9-
before_install:
10-
- pip install --upgrade flit
11-
125
.mixtures:
136
- &run-if-tagged
147
if: tag IS present
@@ -20,6 +13,10 @@ before_install:
2013
if: tag IS NOT present OR tag =~ ^cherry\-picker\-v\d+\.\d+\.\d+$
2114
- &run-if-blurb-or-untagged
2215
if: tag IS NOT present OR tag =~ ^blurb\-v\d+\.\d+\.\d+$
16+
- &base-3_7
17+
dist: xenial
18+
sudo: required
19+
python: "3.7"
2320
- &install-and-test-cherry-picker
2421
<<: *run-if-cherry-picker-or-untagged
2522
env:
@@ -43,7 +40,7 @@ before_install:
4340
- &deploy-base
4441
stage: Publish dists to PYPI
4542
<<: *run-if-tagged
46-
python: "3.6-dev"
43+
python: "3.6"
4744
install:
4845
- *cd-to-project
4946
script:
@@ -75,18 +72,19 @@ jobs:
7572
include:
7673
- python: "3.5"
7774
<<: *install-and-test-blurb
78-
- python: "3.6-dev"
75+
- python: "3.6"
7976
<<: *install-and-test-blurb
80-
- python: "3.7-dev"
77+
- python: "3.7"
78+
<<: *base-3_7
8179
<<: *install-and-test-blurb
82-
- python: "nightly"
80+
- python: "nightly" # currently, it's 3.8-dev
8381
<<: *install-and-test-blurb
8482

85-
- python: "3.6-dev"
83+
- python: "3.6"
8684
<<: *install-and-test-cherry-picker
87-
- python: "3.7-dev"
85+
- <<: *base-3_7
8886
<<: *install-and-test-cherry-picker
89-
- python: "nightly"
87+
- python: "nightly" # currently, it's 3.8-dev
9088
<<: *install-and-test-cherry-picker
9189

9290
- <<: *deploy-base

0 commit comments

Comments
 (0)