Query/.travis.yml

18 lines
415 B
YAML
Raw Normal View History

2012-03-22 15:07:27 -04:00
language: php
2012-03-22 15:21:59 -04:00
phps:
2012-03-22 15:34:57 -04:00
- 5.2
- 5.3
- 5.4
2012-03-22 15:21:59 -04:00
2012-03-22 15:59:03 -04:00
env:
- DB=mysql
- DB=pgsql
- DB=sqlite
2012-03-22 15:21:59 -04:00
2012-03-22 15:59:03 -04:00
before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS test;'; fi"
2012-03-22 15:21:59 -04:00
script: php ./tests/index.php