framework/.travis.yml
Daniël Klabbers c4a501f82a
Improved foundational backend unit tests (#1405)
* 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
2018-04-17 11:15:28 +02:00

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