24 lines
647 B
YAML
24 lines
647 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.2
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq firebird2.5-super firebird2.5-dev
|
|
- sudo sed /ENABLE_FIREBIRD_SERVER=/s/no/yes/ -i /etc/default/firebird2.5
|
|
- cat /etc/default/firebird2.5 | grep ENABLE_FIREBIRD_SERVER
|
|
- sudo service firebird2.5-super start
|
|
|
|
before_script:
|
|
- sudo apt-get install php5-interbase -qq
|
|
- sudo /etc/init.d/php-fpm restart
|
|
- 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;'"
|
|
|
|
script: php ./tests/index.php
|