Browse files

Fixing travis

  • Loading branch information...
1 parent 8fdf994 commit 588c1487bc88a8996d4ee9c2c9d50fa4a4484872 @henriquebastos committed Nov 20, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 .travis.yml
View
8 .travis.yml
@@ -39,12 +39,12 @@ matrix:
env: DJANGO=1.7 DB=mysql
before_script:
- - if [ "$DB" == "mysql" ]; then mysql -e 'create database aggregation;'; fi
- - if [ "$DB" == "postgres" ]; then psql -c 'create database aggregation;' -U postgres; fi
+ - mysql -e 'create database aggregation;'
+ - psql -c 'create database aggregation;' -U postgres
install:
- pip install six
- - pip install mysql-python
- - pip install psycopg2
+ - if [ "$DB" == "mysql" ]; then pip install mysql-python; fi
+ - if [ "$DB" == "postgres" ]; then pip install psycopg2; fi
- pip install -q Django==$DJANGO --use-mirrors
script:
- ./runtests.py --settings=tests.test_$DB

0 comments on commit 588c148

Please sign in to comment.