File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed
Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 6464 - OPENBLAS_NUM_THREADS=1
6565 - PYTHONFAULTHANDLER=1
6666 - PYTEST_ADDOPTS="-raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
67+ - RUN_PYTEST=1
6768 - RUN_FLAKE8=
6869
6970matrix :
7071 include :
72+ - name : flake8
73+ python : 3.6
74+ env :
75+ - RUN_PYTEST=
76+ - RUN_FLAKE8=1
77+ - EXTRAREQS='-r requirements/testing/travis_flake8.txt'
7178 - python : 3.5
7279 dist : trusty
7380 # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
@@ -77,7 +84,6 @@ matrix:
7784 env :
7885 - DELETE_FONT_CACHE=1
7986 - EXTRAREQS='-r requirements/testing/travis36.txt'
80- - RUN_FLAKE8=1
8187 - python : 3.7
8288 sudo : true
8389 - python : " nightly"
@@ -162,8 +168,10 @@ script:
162168 # each script we want to run need to go in it's own section and the program you want
163169 # to fail travis need to be the last thing called
164170 - |
165- echo "Calling pytest with the following arguments: $PYTEST_ADDOPTS"
166- python -mpytest
171+ if [[ $RUN_PYTEST == 1 ]]; then
172+ echo "Calling pytest with the following arguments: $PYTEST_ADDOPTS"
173+ python -mpytest
174+ fi
167175 - |
168176 if [[ $RUN_FLAKE8 == 1 ]]; then
169177 flake8 --statistics && echo "Flake8 passed without any issues!"
Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ def _process_plot_format(fmt):
123123
124124 return linestyle , marker , color
125125
126-
127126class _process_plot_var_args (object ):
128127 """
129128 Process variable length arguments to the plot command, so that
Original file line number Diff line number Diff line change 11# Extra pip requirements for the travis python 3.6 build
22
3- flake8
4- flake8-per-file-ignores
53ipykernel
64nbconvert[execute]
75pandas
Original file line number Diff line number Diff line change 1+ # Extra pip requirements for the travis flake8 build
2+
3+ flake8
4+ flake8-per-file-ignores
5+ ipykernel
6+ nbconvert[execute]
7+ pandas
8+ pytz
You can’t perform that action at this time.
0 commit comments