From 28c11d7687f03076574f24e7a337cde87a2b5bd8 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Wed, 7 Aug 2019 19:45:57 +0200
Subject: [PATCH] Do not test on Travis lint target

---
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fbf3412..63d7645 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,8 +15,8 @@ matrix:
   fast_finish: true
   include:
     - 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="true" LINT="false"
+    - env: DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false" LINT="false"
     - env: DISTRIB="ubuntu" TOX_PYTHON_VERSION="py36" COVERAGE="false" LINT="true"
 install:
   - source tests/travis_install.sh
@@ -26,7 +26,7 @@ before_script:
 script:
   - export NO_GPU_EXECUTION=1
   - pip install -e .
-  - python setup.py test
+  - if [[ "$LINT" == "false" ]]; then python setup.py test; fi
   - if [[ "$LINT" == "true" ]]; then flake8 src; fi
 after_success:
   - if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; codecov; fi
-- 
GitLab