travis: Configure setup for integration tests

This commit is contained in:
Franz Liedke 2019-01-31 21:23:27 +01:00
parent 5556df54f9
commit d387a9ff02
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -7,16 +7,14 @@ cache:
install:
- composer install
- mysql -e 'CREATE DATABASE flarum;'
- mysql -e 'CREATE DATABASE flarum_test;'
before_script:
- echo 'error_reporting = E_ALL' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer test:setup
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
- composer test
jobs:
include: