|
|
@ -5,11 +5,8 @@ php: |
|
|
|
- 5.4 |
|
|
|
- 5.4 |
|
|
|
- 5.5 |
|
|
|
- 5.5 |
|
|
|
|
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
- DB=mysql |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
before_script: |
|
|
|
before_script: |
|
|
|
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS yiitest;'; fi" |
|
|
|
- mysql -e 'create database IF NOT EXISTS yiitest;'; |
|
|
|
- psql -U postgres -c 'drop database if exists yiitest;'; |
|
|
|
- psql -U postgres -c 'drop database if exists yiitest;'; |
|
|
|
- psql -U postgres -c 'create database yiitest;'; |
|
|
|
- psql -U postgres -c 'create database yiitest;'; |
|
|
|
script: phpunit |
|
|
|
script: phpunit |