Skip to content
Snippets Groups Projects
Commit df6476ef authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add LINT target to Travis

parent 2f3b5b1f
Branches
Tags
No related merge requests found
......@@ -17,6 +17,7 @@ matrix:
- python: 3.6
env: DISTRIB="ubuntu" TOX_PYTHON_VERSION="py36" COVERAGE="true"
- env: DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false"
- env: DISTRIB="ubuntu" TOX_PYTHON_VERSION="py36" COVERAGE="false" LINT="true"
install:
- source tests/travis_install.sh
before_script:
......@@ -26,6 +27,7 @@ script:
- export NO_GPU_EXECUTION=1
- pip install -e .
- python setup.py test
- if [[ "$LINT" == "true" ]]; then flake8 src; fi
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; codecov; fi
after_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment