Skip to content

Commit a554152

Browse files
committed
run flake first
Signed-off-by: Chris Snow <[email protected]>
1 parent f08c000 commit a554152

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ after_success:
2323

2424
jobs:
2525
include:
26+
- stage: flake8
27+
name: "Flake8 code checks"
28+
python: 3.8
29+
install:
30+
- pip3 install flake8 flake8-docstrings flake8-per-file-ignores
31+
script:
32+
- flake8 --config ${TRAVIS_BUILD_DIR}/setup.cfg --docstring-convention numpy bin/ hpecp/ tests/
2633
- stage: coverage_library
2734
name: "Code coverage LIBRARY (./hpecp)"
2835
python: 3.8
@@ -41,13 +48,6 @@ jobs:
4148
- coverage erase
4249
- coverage run --source bin setup.py test
4350
- coverage report -m --fail-under 32
44-
- stage: flake8
45-
name: "Flake8 code checks"
46-
python: 3.8
47-
install:
48-
- pip3 install flake8 flake8-docstrings flake8-per-file-ignores
49-
script:
50-
- flake8 --config ${TRAVIS_BUILD_DIR}/setup.cfg --docstring-convention numpy bin/ hpecp/ tests/
5151
- stage: format
5252
name: "Check code formatting"
5353
python: 3.8

0 commit comments

Comments
 (0)