File tree Expand file tree Collapse file tree 1 file changed +19
-23
lines changed Expand file tree Collapse file tree 1 file changed +19
-23
lines changed Original file line number Diff line number Diff line change
1
+ dist : xenial # required for Python >= 3.7
1
2
language : python
2
- sudo : false
3
3
cache : pip
4
4
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'
15
11
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
18
14
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
22
18
script :
23
- - pycodestyle --exclude=venv
24
- - coverage run -m unittest discover
19
+ - pycodestyle --exclude=venv
20
+ - coverage run -m unittest discover
25
21
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
29
25
after_success :
30
- - codecov
26
+ - codecov
31
27
deploy :
32
28
provider : pypi
33
29
user : __token__
@@ -38,4 +34,4 @@ deploy:
38
34
condition : " $TRAVIS_TEST_RESULT = 0"
39
35
tags : true
40
36
skip_cleanup : true
41
- python : " 3.6"
37
+ python : ' 3.6'
You can’t perform that action at this time.
0 commit comments