Skip to content

Commit b63a6db

Browse files
committed
Update Travis CI jobs
Lint once using the latest version of Python. Run the test suite against all supported Python distributions.
1 parent 28d45ed commit b63a6db

File tree

2 files changed

+29
-9
lines changed

2 files changed

+29
-9
lines changed

.travis.yml

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1-
sudo: false
21
language: python
3-
python:
4-
- "2.7"
5-
- "3.5"
6-
- "3.6"
7-
# - "3.7" It doesn't look like Travis is supporting v3.7 yet
8-
install: "script/setup"
9-
script: "script/ci"
102
cache: pip
3+
4+
install: script/setup
5+
6+
jobs:
7+
include:
8+
- name: "Lint"
9+
python: 3.8
10+
script: script/test lint
11+
12+
- name: "Tests on Python 2.7"
13+
python: 2.7
14+
script: script/ci
15+
16+
- name: "Tests on Python 3.5"
17+
python: 3.5
18+
script: script/ci
19+
20+
- name: "Tests on Python 3.6"
21+
python: 3.6
22+
script: script/ci
23+
24+
- name: "Tests on Python 3.7"
25+
python: 3.7
26+
script: script/ci
27+
28+
- name: "Tests on Python 3.8"
29+
python: 3.8
30+
script: script/ci

script/ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ done
2020

2121

2222
# Run the test suite
23-
script/test
23+
script/test tests

0 commit comments

Comments
 (0)