File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ before_install:
62
62
- virtualenv --python=python venv
63
63
- source venv/bin/activate
64
64
- python --version # just to check
65
- - pip install -U pip # upgrade to latest pip to find 3.5 wheels
66
- - retry pip install nose # always
65
+ - pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
66
+ - retry pip install nose flake8 # always
67
67
- wheelhouse_pip_install $DEPENDS
68
68
# pydicom <= 0.9.8 doesn't install on python 3
69
69
- if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then
@@ -98,6 +98,8 @@ install:
98
98
- export NIBABEL_DATA_DIR="$PWD/nibabel-data"
99
99
# command to run tests, e.g. python setup.py test
100
100
script :
101
+ # Run styles first, only on core nibabel code.
102
+ - flake8 nibabel
101
103
# Change into an innocuous directory and find tests from installation
102
104
- mkdir for_testing
103
105
- cd for_testing
You can’t perform that action at this time.
0 commit comments