Skip to content

Commit 305e0c4

Browse files
committed
Add Python 3.7 to Travis CI
1 parent 084b51e commit 305e0c4

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ before_install:
2020
if: tag IS NOT present OR tag =~ ^cherry\-picker\-v\d+\.\d+\.\d+$
2121
- &run-if-blurb-or-untagged
2222
if: tag IS NOT present OR tag =~ ^blurb\-v\d+\.\d+\.\d+$
23+
- &base-3_7
24+
dist: xenial
25+
sudo: required
26+
python: "3.7"
2327
- &install-and-test-cherry-picker
2428
<<: *run-if-cherry-picker-or-untagged
2529
env:
@@ -43,7 +47,7 @@ before_install:
4347
- &deploy-base
4448
stage: Publish dists to PYPI
4549
<<: *run-if-tagged
46-
python: "3.6-dev"
50+
python: "3.6"
4751
install:
4852
- *cd-to-project
4953
script:
@@ -75,18 +79,19 @@ jobs:
7579
include:
7680
- python: "3.5"
7781
<<: *install-and-test-blurb
78-
- python: "3.6-dev"
82+
- python: "3.6"
7983
<<: *install-and-test-blurb
80-
- python: "3.7-dev"
84+
- python: "3.7"
85+
<<: *base-3_7
8186
<<: *install-and-test-blurb
82-
- python: "nightly"
87+
- python: "nightly" # currently, it's 3.8-dev
8388
<<: *install-and-test-blurb
8489

85-
- python: "3.6-dev"
90+
- python: "3.6"
8691
<<: *install-and-test-cherry-picker
87-
- python: "3.7-dev"
92+
- <<: *base-3_7
8893
<<: *install-and-test-cherry-picker
89-
- python: "nightly"
94+
- python: "nightly" # currently, it's 3.8-dev
9095
<<: *install-and-test-cherry-picker
9196

9297
- <<: *deploy-base

0 commit comments

Comments
 (0)