2017-01-09 14:14:04 +01:00
|
|
|
language: php
|
|
|
|
|
2017-02-18 04:31:33 +01:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|
|
|
|
|
2017-01-09 14:14:04 +01:00
|
|
|
php:
|
2017-12-02 06:42:12 +01:00
|
|
|
- 5.6
|
|
|
|
- 7.0
|
|
|
|
- 7.1
|
|
|
|
- 7.2
|
2017-01-09 14:14:04 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
install:
|
|
|
|
- composer selfupdate
|
|
|
|
- composer install
|
|
|
|
|
2017-02-18 04:31:33 +01:00
|
|
|
before_script:
|
2018-02-28 12:37:22 +01:00
|
|
|
- mysql -e "create database IF NOT EXISTS b8_test;" -uroot
|
|
|
|
- psql -c 'create database b8_test;' -U postgres
|
2017-02-18 04:31:33 +01:00
|
|
|
|
2017-01-09 14:14:04 +01:00
|
|
|
script:
|
2018-02-28 12:37:22 +01:00
|
|
|
- vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=coverage.xml
|
2017-11-11 12:57:52 +01:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2017-01-09 14:14:04 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- poisoncorpsee@gmail.com
|
|
|
|
|
|
|
|
on_success: always
|
|
|
|
on_failure: always
|