mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
c4a501f82a
* part one of adding tests, updating core
* Apply fixes from StyleCI
[ci skip] [skip ci]
* we need xdebug for code coverage, and hhvm was already removed
* forgot about the sidecar for mysql completely 🤦
* gitignore removed this installed json we need to fake that we have extensions
* using reguarded closure
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
|