You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
403 B
16 lines
403 B
language: php |
|
|
|
php: |
|
- 5.3 |
|
- 5.4 |
|
- 5.5 |
|
|
|
env: |
|
- DB=mysql |
|
- DB=postgres |
|
|
|
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" |
|
script: phpunit |