2015-05-18 14:15:12 +08:00
|
|
|
language: php
|
2018-05-29 11:51:22 +08:00
|
|
|
sudo: false
|
2015-05-18 14:15:12 +08:00
|
|
|
|
2018-04-13 13:25:30 +08:00
|
|
|
env:
|
2018-05-29 11:51:22 +08:00
|
|
|
global:
|
|
|
|
- DB=mariadb
|
|
|
|
|
|
|
|
addons:
|
|
|
|
mariadb: '10.2'
|
2018-04-13 13:25:30 +08:00
|
|
|
|
2015-05-18 14:15:12 +08:00
|
|
|
php:
|
2017-02-04 04:53:39 +08:00
|
|
|
- 7.1
|
2017-10-05 19:57:31 +08:00
|
|
|
- 7.2
|
2015-05-18 14:15:12 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2018-05-29 11:51:22 +08:00
|
|
|
include:
|
|
|
|
- php: 7.1
|
|
|
|
addons: # to prevent mariadb
|
|
|
|
services: mysql
|
|
|
|
env:
|
|
|
|
- DB=mysql
|
|
|
|
- php: 7.2
|
|
|
|
addons: # to prevent mariadb
|
|
|
|
services: mysql
|
|
|
|
env:
|
|
|
|
- DB=mysql
|
|
|
|
|
2018-04-13 13:25:30 +08:00
|
|
|
before_install:
|
2018-05-30 16:36:00 +08:00
|
|
|
- mysql -e 'CREATE DATABASE flarum;'
|
|
|
|
|
2015-05-18 14:15:12 +08:00
|
|
|
before_script:
|
2016-01-28 15:06:33 +08:00
|
|
|
- composer self-update
|
2016-01-21 05:22:13 +08:00
|
|
|
- composer install
|
2015-05-18 14:15:12 +08:00
|
|
|
|
|
|
|
script:
|
2016-06-05 07:46:29 +08:00
|
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
2015-05-18 14:15:12 +08:00
|
|
|
|
|
|
|
notifications:
|
2015-05-19 08:14:56 +08:00
|
|
|
email:
|
|
|
|
on_failure: change
|
2015-07-05 19:52:51 +08:00
|
|
|
|
2016-03-03 18:50:09 +08:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|