diff .travis.yml @ 5920:ff7e089fd4ef

support python 3.4 testing python 3.4 is not supported by any 1.4 release of mysqlclient. Pip is installing the 1.4.4 version even when run from python 3.4. Check version and install 1.3.14 on python 3.4 but newest one on all other versions.
author John Rouillard <rouilj@ieee.org>
date Sun, 13 Oct 2019 14:17:33 -0400
parents d789c28db503
children 50ac0d3c50b9
line wrap: on
line diff
--- a/.travis.yml	Sun Oct 13 13:52:44 2019 -0400
+++ b/.travis.yml	Sun Oct 13 14:17:33 2019 -0400
@@ -84,7 +84,8 @@
   - cd $TRAVIS_BUILD_DIR
 
 install:
-  - pip install mysqlclient
+  - [[ $TRAVIS_PYTHON_VERSION == "3.4"* ]] && pip install mysqlclient==1.3.14
+  - [[ $TRAVIS_PYTHON_VERSION != "3.4"* ]] && pip install mysqlclient
   - pip install psycopg2
   - pip install gpg pytz whoosh pyjwt
   - pip install pytest-cov codecov

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