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
|
2014-02-06 20:01:31 -05:00
|
|
|
|
2012-03-22 15:59:03 -04:00
|
|
|
before_script:
|
2014-02-25 11:59:28 -05:00
|
|
|
- curl -s http://getcomposer.org/installer | php
|
|
|
|
- php composer.phar install --dev --no-interaction
|
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
|
|
|
|
2014-02-25 11:59:28 -05:00
|
|
|
script:
|
|
|
|
- mkdir -p build/logs
|
|
|
|
- cd tests && phpunit phpunit --coverage-clover build/logs/clover.xml
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
- php vendor/bin/coveralls
|
2014-02-06 20:30:08 -05:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2014-02-18 20:14:27 -05:00
|
|
|
- php: hhvm
|