26 lines
551 B
YAML
26 lines
551 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- hhvm
|
|
|
|
before_script:
|
|
- curl -s http://getcomposer.org/installer | php
|
|
- php composer.phar install --dev --no-interaction
|
|
- 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:
|
|
- mkdir -p build/logs
|
|
- cd tests && phpunit phpunit --coverage-clover build/logs/clover.xml
|
|
|
|
after_script:
|
|
- php vendor/bin/coveralls
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm |