diff .travis.yml @ 5482:17eea0eac04e

conditionally install MySQL-python and pyme on Python 2 only
author Christof Meerwald <cmeerw@cmeerw.org>
date Wed, 01 Aug 2018 22:54:10 +0100
parents 1ad46057ae4a
children b7fa56ced601
line wrap: on
line diff
--- a/.travis.yml	Wed Aug 01 22:03:50 2018 +0100
+++ b/.travis.yml	Wed Aug 01 22:54:10 2018 +0100
@@ -37,7 +37,8 @@
   - cd $TRAVIS_BUILD_DIR
 
 install:
-  - pip install MySQL-python psycopg2 pytz pyme whoosh
+  - pip install psycopg2 pytz whoosh
+  - if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then pip install MySQL-python pyme; fi
   - pip install pytest-cov codecov
 
 before_script:

Roundup Issue Tracker: http://roundup-tracker.org/