run flake8 first, before tests

This commit is contained in:
Jean Bredeche
2016-04-25 09:56:44 -04:00
parent a13e336ef5
commit d9d0c2f9fc
+1 -1
View File
@@ -42,8 +42,8 @@ install:
before_script:
- pip freeze | sort
script:
- nosetests --with-coverage tests/
- flake8 zipline tests
- nosetests --with-coverage tests/
# deactive env to get access to anaconda command
- source deactivate
- if [[ "$TRAVIS_SECURE_ENV_VARS" = "true" && "$TRAVIS_BRANCH" = "master" && "$TRAVIS_PULL_REQUEST" = "false" ]]; then DO_UPLOAD="true"; else DO_UPLOAD="false"; fi