Skip to content

Commit 8b61ab7

Browse files
author
Gevik Babakhani
committed
Force travis to create the pgsql test db
1 parent dbe84ac commit 8b61ab7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ php:
77

88
env:
99
- DB=mysql
10-
- DB=postgres
1110

1211
before_script:
1312
- 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"
13+
- psql -U postgres -c 'drop database if exists yiitest;';
14+
- psql -U postgres -c 'create database yiitest;';
1615
script: phpunit

0 commit comments

Comments
 (0)