Skip to content

Commit 8a04e37

Browse files
authored
also check against other python versions
1 parent 63cf047 commit 8a04e37

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

.travis.yml

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,42 @@ sudo: required
22
language: python
33
os: linux
44
dist: xenial # required for Python >= 3.7
5-
python:
6-
- '3.7'
7-
- '3.8'
85

9-
install:
10-
- pip install --upgrade pip
6+
before_install:
7+
- pip3 install --upgrade pip
118

129
jobs:
1310
include:
1411
- stage: test
15-
name: 'lint'
12+
python: 3.7
13+
name: 'lint 3.7'
1614
script:
17-
- pip install .
18-
- pip install pylint --upgrade
19-
- pylint -rn --errors-only ./Hologram
20-
15+
- pip3 install .
16+
- pip3 install pylint --upgrade
17+
- pylint -rn --errors-only Hologram
18+
19+
- script:
20+
- pip3 install .
21+
- pip3 install pylint --upgrade
22+
- pylint -rn --errors-only Hologram
23+
python: 3.8
24+
name: 'lint 3.8'
25+
26+
- script:
27+
- pip3 install .
28+
- pip3 install coveralls
29+
- coverage run --source Hologram -m pytest
30+
- coveralls
31+
python: 3.7
32+
name: 'test 3.7'
2133

2234
- script:
23-
- pip install .
24-
- pip install coveralls
35+
- pip3 install .
36+
- pip3 install coveralls
2537
- coverage run --source Hologram -m pytest
2638
- coveralls
27-
name: 'test'
39+
python: 3.8
40+
name: 'test 3.8'
2841

2942
notifications:
3043
email: false

0 commit comments

Comments
 (0)