8000 Run flake8 before pytest on travis · matplotlib/matplotlib@04c8249 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 04c8249

Browse files
committed
Run flake8 before pytest on travis
1 parent b424c85 commit 04c8249

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ before_script: |
160160
script:
161161
# each script we want to run need to go in it's own section and the program you want
162162
# to fail travis need to be the last thing called
163-
- |
164-
echo "Calling pytest with the following arguments: $PYTEST_ADDOPTS"
165-
python -mpytest
166163
- |
167164
if [[ $RUN_FLAKE8 == 1 ]]; then
168165
flake8 --statistics && echo "Flake8 passed without any issues!"
169166
fi
167+
- |
168+
echo "Calling pytest with the following arguments: $PYTEST_ADDOPTS"
169+
python -mpytest
170170
171171
172172
before_cache: |

0 commit comments

Comments
 (0)
0