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

Do not test on Travis lint target

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