Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Commit

Permalink
Travis: only install db drivers when needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Jan 25, 2014
1 parent e5eb0be commit 2a86693
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ install:
- pip install $DJANGO
- pip install pytest==2.5.1 pytest-django==2.6 py==1.4.19
- pip install coverage==3.7.1 coveralls
- pip install psycopg2==2.5.2 MySQL-Python==1.2.5
- if [[ $DJANGO_SETTINGS_MODULE == "transaction_hooks.test.settings_pg" ]]; then pip install psycopg2==2.5.2; fi
- if [[ $DJANGO_SETTINGS_MODULE == "transaction_hooks.test.settings_mysql" ]]; then pip install MySQL-Python==1.2.5; fi

before_script:
- mysql -e 'create database dtc;'
Expand Down

0 comments on commit 2a86693

Please sign in to comment.