mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 04:09:45 +08:00
travis: Configure setup for integration tests
This commit is contained in:
parent
5556df54f9
commit
d387a9ff02
|
@ -7,16 +7,14 @@ cache:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer install
|
- composer install
|
||||||
- mysql -e 'CREATE DATABASE flarum;'
|
- mysql -e 'CREATE DATABASE flarum_test;'
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo 'error_reporting = E_ALL' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
- echo 'error_reporting = E_ALL' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
||||||
|
- composer test:setup
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
- composer test
|
||||||
|
|
||||||
after_success:
|
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user