Browse Source

Force travis to create a postgresql test database

tags/2.0.0-beta
Gevik Babakhani 12 years ago
parent
commit
1c92e4c3e5
  1. 4
      .travis.yml

4
.travis.yml

@ -11,6 +11,6 @@ env:
before_script:
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS yiitest;'; fi"
- sh -c "if [ '$DB' = 'postgres' ]; then psql -U postgres -c 'drop database if exists yiitest;'; fi"
- 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;';
script: phpunit
Loading…
Cancel
Save