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 16:04:54 -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:
|
2012-03-22 16:04:54 -04:00
|
|
|
- sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
|
|
|
|
- sh -c "psql -c 'create database test;' -U postgres"
|
|
|
|
- sh -c "mysql -e 'create database IF NOT EXISTS test;'"
|
2012-03-22 15:21:59 -04:00
|
|
|
|
|
|
|
script: php ./tests/index.php
|