Skip to content

Commit 6bf5f5c

Browse files
author
childish-sambino
authored
chore: add Python 3.8 to Travis (#140)
1 parent c05691e commit 6bf5f5c

File tree

1 file changed

+19
-23
lines changed

1 file changed

+19
-23
lines changed

.travis.yml

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
1+
dist: xenial # required for Python >= 3.7
12
language: python
2-
sudo: false
33
cache: pip
44
python:
5-
- '2.7'
6-
- '3.4'
7-
- '3.5'
8-
- '3.6'
9-
matrix:
10-
include:
11-
- python: 3.7
12-
dist: xenial
13-
sudo: true
14-
fail_fast: true
5+
- '2.7'
6+
- '3.4'
7+
- '3.5'
8+
- '3.6'
9+
- '3.7'
10+
- '3.8'
1511
before_install:
16-
- pip install pycodestyle coverage codecov
17-
- if [[ "$TRAVIS_PYTHON_VERSION" == 2.7* ]]; then pip install mock; fi
12+
- pip install pycodestyle coverage codecov
13+
- if [[ "$TRAVIS_PYTHON_VERSION" == 2.7* ]]; then pip install mock; fi
1814
install:
19-
- pip install virtualenv --upgrade
20-
- make install
21-
- make test-install
15+
- pip install virtualenv --upgrade
16+
- make install
17+
- make test-install
2218
script:
23-
- pycodestyle --exclude=venv
24-
- coverage run -m unittest discover
19+
- pycodestyle --exclude=venv
20+
- coverage run -m unittest discover
2521
after_script:
26-
- codecov
27-
- make test
28-
- coverage run tests/test_unit.py
22+
- codecov
23+
- make test
24+
- coverage run tests/test_unit.py
2925
after_success:
30-
- codecov
26+
- codecov
3127
deploy:
3228
provider: pypi
3329
user: __token__
@@ -38,4 +34,4 @@ deploy:
3834
condition: "$TRAVIS_TEST_RESULT = 0"
3935
tags: true
4036
skip_cleanup: true
41-
python: "3.6"
37+
python: '3.6'

0 commit comments

Comments
 (0)