Skip to content

Commit cac923d

Browse files
committed
Update .travis.yml
1 parent ebbb816 commit cac923d

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.travis.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
language: python
22
cache: pip
33
python:
4-
- 2.7
54
- 3.6
6-
#- nightly
7-
#- pypy
8-
#- pypy3
95
matrix:
106
allow_failures:
117
- python: nightly
128
- python: pypy
139
- python: pypy3
1410
install:
15-
#- pip install -r requirements.txt
16-
- pip install flake8 # pytest # add another testing frameworks later
11+
- pip install flake8
12+
- pip install -e .[TEST]
1713
before_script:
1814
# stop the build if there are Python syntax errors or undefined names
1915
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
2016
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
2117
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
2218
script:
23-
- true # pytest --capture=sys # add other tests here
19+
- pytest tests --cov thealgorithms --cov-branch
2420
notifications:
2521
on_success: change
26-
on_failure: change # `always` will be the setting once code changes slow down
22+
on_failure: change

0 commit comments

Comments
 (0)