Skip to content

Commit 5c8bb19

Browse files
authored
Update .travis.yml
1 parent 8efad50 commit 5c8bb19

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.travis.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
11
sudo: required
22
language: python
3-
python:
4-
- '2.7'
5-
install: pip install -r requirements.txt
6-
script: make test
3+
os: linux
4+
dist: xenial # required for Python >= 3.7
5+
6+
matrix:
7+
include:
8+
- stage: lint
9+
python: 3.7
10+
name: 'lint'
11+
script:
12+
- pip install -r requirements.txt
13+
- pip install pylint
14+
- pylint -rn --errors-only ./Hologram
15+
16+
- stage: test
17+
python: 3.7
18+
name: 'test python 3'
19+
script:
20+
- pip install .
21+
- pip install coveralls
22+
- rm -r tests/radius
23+
- coverage run --source Hologram -m py.test
24+
- coveralls
25+
726
notifications:
827
email: false
928
slack:

0 commit comments

Comments
 (0)