Skip to content

Commit aac576b

Browse files
committed
Change travis
1 parent 9f429a5 commit aac576b

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.travis.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
sudo: false
22
cache: pip
3+
34
language: python
45
python:
5-
- 3.6
6+
- 3.7
67
stages:
78
- lint
89
- docs
@@ -13,8 +14,6 @@ jobs:
1314
- stage: lint
1415
env: TOXENV=manifest
1516
- env: TOXENV=flake8
16-
- env: TOXENV=xenon
17-
- env: TOXENV=vulture
1817
- env: TOXENV=pyroma
1918
# docs stage
2019
- stage: docs
@@ -30,12 +29,8 @@ matrix:
3029
- env: TOXENV=xenon
3130
- env: TOXENV=vulture
3231
install:
33-
- pip install --upgrade pip
34-
- pip install tox
35-
- pip install codecov
36-
- pip install coverage
32+
- sh -c 'if [ "$TOXENV" = "py" ]; then pip install tox codecov; else pip install tox; fi'
3733
script:
38-
- tox
34+
- tox
3935
after_success:
40-
- tox -e coverage-report
41-
- codecov
36+
- sh -c 'if [ "$TOXENV" = "py" ]; then tox -e coverage-report; codecov; fi'

0 commit comments

Comments
 (0)