File tree 2 files changed +14
-14
lines changed
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
group : travis_latest
2
+ dist : xenial # Travis CI's default distro
2
3
language : python
3
4
cache :
4
5
directories :
5
6
- $HOME/.cache/pip
6
7
matrix :
7
8
include :
8
- - python : 3.4
9
- env : TOX_ENV=py34
10
9
- python : 3.5
11
- env : TOX_ENV=py35,coverage
10
+ env : TOX_ENV=py35
12
11
- python : 3.6
13
12
env : TOX_ENV=py36
13
+ - python : 3.7
14
+ env : TOX_ENV=py37,coverage
14
15
install :
15
16
- pip install -r test_requirements.txt
16
17
before_script :
@@ -20,10 +21,10 @@ before_script:
20
21
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
21
22
script :
22
23
# Check python install package
23
- - pip3 install -e .
24
+ - pip install -e .
24
25
- tox -e $TOX_ENV
25
26
# Check python uninstall package
26
- - pip3 uninstall -y algorithms
27
+ - pip uninstall -y algorithms
27
28
notifications :
28
29
on_success : change
29
30
on_failure : change # `always` will be the setting once code changes slow down
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
envlist =
3
- py34
4
3
py35
5
4
py36
5
+ py37
6
6
coverage
7
7
8
8
[testenv]
9
9
passenv = TRAVIS TRAVIS_*
10
10
basepython =
11
- py34: python3.4
12
11
py35: python3.5
13
12
py36: python3.6
14
13
py37: python3.7
@@ -20,30 +19,30 @@ commands =
20
19
coverage report -m
21
20
coveralls
22
21
23
- [testenv:py34 ]
22
+ [testenv:py35 ]
24
23
passenv = CI TRAVIS TRAVIS_*
25
24
basepython =
26
- python3.4
25
+ python3.5
27
26
deps =
28
27
pytest
29
28
commands =
30
29
python3 -m unittest discover tests
31
30
python3 -m pytest tests
32
31
33
- [testenv:py35 ]
32
+ [testenv:py36 ]
34
33
passenv = CI TRAVIS TRAVIS_*
35
34
basepython =
36
- python3.5
35
+ python3.6
37
36
deps =
38
37
pytest
39
38
commands =
40
39
python3 -m unittest discover tests
41
40
python3 -m pytest tests
42
41
43
- [testenv:py36 ]
42
+ [testenv:py37 ]
44
43
passenv = CI TRAVIS TRAVIS_*
45
44
basepython =
46
- python3.6
45
+ python3.7
47
46
deps =
48
47
pytest
49
48
commands =
@@ -54,7 +53,7 @@ commands =
54
53
passenv = CI TRAVIS TRAVIS_*
55
54
skip_install = True
56
55
basepython =
57
- python3.5
56
+ python3.7
58
57
commands =
59
58
coverage run --source =tests,algorithms -m unittest discover tests
60
59
coverage report -m
You can’t perform that action at this time.
0 commit comments