2015-08-25 16:41:38 -04:00
|
|
|
#sudo: false
|
2015-07-17 15:38:06 -04:00
|
|
|
|
2012-03-22 15:07:27 -04:00
|
|
|
language: php
|
2012-03-22 15:21:59 -04:00
|
|
|
|
2012-03-23 09:34:29 -04:00
|
|
|
php:
|
2012-03-22 15:34:57 -04:00
|
|
|
- 5.3
|
|
|
|
- 5.4
|
2013-12-06 23:00:32 -05:00
|
|
|
- 5.5
|
2014-02-11 12:59:37 -05:00
|
|
|
- 5.6
|
2014-02-06 20:19:15 -05:00
|
|
|
- hhvm
|
2015-06-04 15:24:44 -04:00
|
|
|
- nightly
|
2014-02-06 20:01:31 -05:00
|
|
|
|
2015-08-25 16:52:15 -04:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
2015-08-26 09:37:35 -04:00
|
|
|
- sudo apt-get install -qq php5-interbase firebird2.5-super
|
2015-08-25 16:52:15 -04:00
|
|
|
|
2015-08-25 17:03:05 -04:00
|
|
|
install:
|
2015-08-26 09:40:59 -04:00
|
|
|
- sudo chmod 777 tests/db_files/FB_TEST_DB.FDB
|
2015-08-26 10:14:31 -04:00
|
|
|
- pecl install -f pdo_firebird-0.2
|
2015-08-25 17:03:05 -04:00
|
|
|
|
2012-03-22 15:59:03 -04:00
|
|
|
before_script:
|
2015-08-26 09:27:11 -04:00
|
|
|
- sudo service firebird2.5-super start
|
2014-04-15 16:34:33 -04:00
|
|
|
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
|
|
|
|
- psql -c 'create database test;' -U postgres
|
|
|
|
- mysql -e 'create database IF NOT EXISTS test;'
|
2015-08-26 10:05:11 -04:00
|
|
|
#- sudo php5enmod interbase
|
2012-03-22 15:21:59 -04:00
|
|
|
|
2014-02-25 11:59:28 -05:00
|
|
|
script:
|
|
|
|
- mkdir -p build/logs
|
2015-07-17 15:38:06 -04:00
|
|
|
- phpunit --coverage-clover build/logs/clover.xml
|
2014-02-25 11:59:28 -05:00
|
|
|
|
|
|
|
after_script:
|
2014-03-20 10:49:15 -04:00
|
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
2015-08-25 16:52:15 -04:00
|
|
|
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2015-08-26 09:54:52 -04:00
|
|
|
- php: 5.3
|
|
|
|
- php: hhvm
|