Skip to content

Commit

Permalink
Fix brackets in travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martsberger committed Apr 2, 2019
1 parent 9230f86 commit 1989fee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -33,12 +33,12 @@ matrix:

before_script:
- if [[ "$DB" == "mysql" ]]; then mysql -e 'create database sqlutil;'; fi
- if [ "$DB" == "postgres" ]; then psql -c 'create database sqlutil;' -U postgres; fi
- if [[ "$DB" == "postgres" ]]; then psql -c 'create database sqlutil;' -U postgres; fi
install:
- pip install pip --upgrade
- if [[ "$DB" == "mysql" && ("$DJANGO" == "1.11" || "$DJANGO" == "2.0") ]]; then pip install mysqlclient\<=1.3.13; fi
- if [ "$DB" == "mysql" && "$DJANGO" == "2.1" ]; then pip install mysqlclient; fi
- if [ "$DB" == "postgres" ]; then pip install psycopg2; fi
- if [[ "$DB" == "mysql" && "$DJANGO" == "2.1" ]]; then pip install mysqlclient; fi
- if [[ "$DB" == "postgres" ]]; then pip install psycopg2; fi
- pip install -q Django==$DJANGO
script:
- python runtests.py --settings=sql_util.tests.test_"$DB"_settings

0 comments on commit 1989fee

Please sign in to comment.