File tree 3 files changed +10
-17
lines changed 3 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ install:
16
16
- pip install -r requirements-dev.txt
17
17
18
18
script :
19
- - pytest --doctest-modules patterns/
19
+ - if [ "${TRAVIS_PYTHON_VERSION:0:1}" = 2 ]; then export PYEXCLUDE=3; else export PYEXCLUDE=2; fi
20
+ - flake8 --exclude="*__py${PYEXCLUDE}.py" patterns/
21
+ - pytest --doctest-modules --ignore-glob="*__py${PYEXCLUDE}.py" patterns/
20
22
- pytest -s -vv --cov=. --log-level=INFO tests/
21
23
# Actually run all the scripts, contributing to coverage
22
24
- PYTHONPATH=. ./run_all.sh
23
- - flake8 patterns/
24
25
25
26
after_success :
26
27
- codecov
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
-e .
2
- pytest ~= 4.1
3
- pytest-cov ~= 2.6
4
- flake8 ~= 3.6
5
- codecov ~= 2.0
6
- mock ~= 2.0
2
+
3
+ pytest ~= 4.3.0
4
+ pytest-cov ~= 2.6.0
5
+ flake8 ~= 3.7.0
6
+ codecov ~= 2.0.0
7
+
8
+ mock ~= 2.0.0 ; python_version < "3.*"
You can’t perform that action at this time.
0 commit comments