Run flake8 tests only once
This commit is contained in:
1 parent
a7ca374955
commit
de149613cb
1 file changed
+9
-4
+9
-4
@@ -3,15 +3,20 @@
|
||||
language: python
|
||||
dist: xenial
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- python: '3.7'
|
||||
env: RUN_FLAKE8=true
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
- "3.6"
|
||||
- "2.7"
|
||||
install:
|
||||
- pip install -e .[develop]
|
||||
script:
|
||||
- nosetests --with-doctest
|
||||
- flake8 --ignore=D,E,W,F401 src/ tests setup.py
|
||||
- test -n "$RUN_FLAKE8" || nosetests --with-doctest
|
||||
- test -z "$RUN_FLAKE8" || flake8 --ignore=D,E,W,F401 src/ tests setup.py
|
||||
sudo: false
|
||||
git:
|
||||
depth: 250
|
||||
Reference in new issue
Block a user