Skip to content

Commit c71fc67

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

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.travis.yml

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

33
language: python
44

5-
dist: trusty
6-
sudo: false
7-
cache: pip
8-
95
before_install:
106
- pip install --upgrade flit
117

@@ -20,6 +16,10 @@ before_install:
2016
if: tag IS NOT present OR tag =~ ^cherry\-picker\-v\d+\.\d+\.\d+$
2117
- &run-if-blurb-or-untagged
2218
if: tag IS NOT present OR tag =~ ^blurb\-v\d+\.\d+\.\d+$
19+
- &base-3_7
20+
dist: xenial
21+
sudo: required
22+
python: "3.7"
2323
- &install-and-test-cherry-picker
2424
<<: *run-if-cherry-picker-or-untagged
2525
env:
@@ -43,7 +43,7 @@ before_install:
4343
- &deploy-base
4444
stage: Publish dists to PYPI
4545
<<: *run-if-tagged
46-
python: "3.6-dev"
46+
python: "3.6"
4747
install:
4848
- *cd-to-project
4949
script:
@@ -75,18 +75,19 @@ jobs:
7575
include:
7676
- python: "3.5"
7777
<<: *install-and-test-blurb
78-
- python: "3.6-dev"
78+
- python: "3.6"
7979
<<: *install-and-test-blurb
80-
- python: "3.7-dev"
80+
- python: "3.7"
81+
<<: *base-3_7
8182
<<: *install-and-test-blurb
82-
- python: "nightly"
83+
- python: "nightly" # currently, it's 3.8-dev
8384
<<: *install-and-test-blurb
8485

85-
- python: "3.6-dev"
86+
- python: "3.6"
8687
<<: *install-and-test-cherry-picker
87-
- python: "3.7-dev"
88+
- <<: *base-3_7
8889
<<: *install-and-test-cherry-picker
89-
- python: "nightly"
90+
- python: "nightly" # currently, it's 3.8-dev
9091
<<: *install-and-test-cherry-picker
9192

9293
- <<: *deploy-base

0 commit comments

Comments
 (0)