mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
f137eb358f
remove conditional which is unnecessary
45 lines
641 B
YAML
45 lines
641 B
YAML
language: php
|
|
sudo: false
|
|
|
|
env:
|
|
global:
|
|
- DB=mariadb
|
|
|
|
addons:
|
|
mariadb: '10.2'
|
|
|
|
php:
|
|
- 7.1
|
|
- 7.2
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
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
|
|
|
|
before_install:
|
|
- mysql -e 'CREATE DATABASE flarum;'
|
|
|
|
before_script:
|
|
- composer self-update
|
|
- composer install
|
|
|
|
script:
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
|
|
|
notifications:
|
|
email:
|
|
on_failure: change
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|