mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 17:12:46 +08:00
travis: Configure setup for integration tests
This commit is contained in:
parent
5556df54f9
commit
d387a9ff02
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user