mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 11:32:45 +08:00
32 lines
422 B
YAML
32 lines
422 B
YAML
language: php
|
|
|
|
env:
|
|
- DB_USERNAME=travis
|
|
services:
|
|
- mysql
|
|
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
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)
|
|
|
|
sudo: false
|