Skip to content

Commit 28977cc

Browse files
committed
conditionally install MySQL-python and pyme on Python 2 only
1 parent 2fcec9c commit 28977cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ before_install:
3737
- cd $TRAVIS_BUILD_DIR
3838

3939
install:
40-
- pip install MySQL-python psycopg2 pytz pyme whoosh
40+
- pip install psycopg2 pytz whoosh
41+
- if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then pip install MySQL-python pyme; fi
4142
- pip install pytest-cov codecov
4243

4344
before_script:

0 commit comments

Comments
 (0)