We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbe84ac commit 8b61ab7Copy full SHA for 8b61ab7
.travis.yml
@@ -7,10 +7,9 @@ php:
7
8
env:
9
- DB=mysql
10
- - DB=postgres
11
12
before_script:
13
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS yiitest;'; fi"
14
- - sh -c "if [ '$DB' = 'postgres' ]; then psql -U postgres -c 'drop database if exists yiitest;'; fi"
15
- - sh -c "if [ '$DB' = 'postgres' ]; then psql -U postgres -c 'create database yiitest;'; fi"
+ - psql -U postgres -c 'drop database if exists yiitest;';
+ - psql -U postgres -c 'create database yiitest;';
16
script: phpunit
0 commit comments