Merge pull request #1163 from quantopian/flake8-first

BLD: run flake8 first, before tests
This commit is contained in:
Jean Bredeche
2016-04-25 10:50:22 -04:00
+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