2016-11-19 09:03:59 -06:00
|
|
|
language: php
|
|
|
|
php:
|
2017-01-24 04:49:05 -06:00
|
|
|
- 7.1
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor
|
|
|
|
- $HOME/.composer/cache
|
2016-11-19 09:03:59 -06:00
|
|
|
|
|
|
|
install:
|
|
|
|
- rm composer.lock
|
|
|
|
- composer update --no-scripts
|
2017-01-24 05:08:06 -06:00
|
|
|
- cp .env.testing .env
|
2016-11-19 09:03:59 -06:00
|
|
|
- php artisan clear-compiled
|
|
|
|
- php artisan env
|
2016-12-25 05:06:17 -06:00
|
|
|
- cp .env.testing .env
|
2017-06-28 08:27:31 -05:00
|
|
|
- wget -q https://github.com/firefly-iii/test-data/raw/master/storage/database.sqlite -O storage/database/database.sqlite
|
2017-03-19 14:39:27 -05:00
|
|
|
- mkdir -p build/logs
|
2016-11-19 09:03:59 -06:00
|
|
|
|
|
|
|
script:
|
2017-10-06 08:55:28 -05:00
|
|
|
- phpunit -c phpunit.coverage.xml
|
2017-03-19 11:54:21 -05:00
|
|
|
|
2017-10-06 08:52:06 -05:00
|
|
|
after_success:
|
2017-12-23 14:30:30 -06:00
|
|
|
- travis_retry php vendor/bin/php-coveralls -x storage/build/clover-all.xml
|
2017-02-19 10:01:29 -06:00
|
|
|
|
|
|
|
# safelist
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- develop
|
2018-03-19 06:08:22 -05:00
|
|
|
- master
|