mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 18:01:26 -06:00
30 lines
597 B
YAML
30 lines
597 B
YAML
language: php
|
|
php:
|
|
- 7.1.18
|
|
|
|
cache:
|
|
directories:
|
|
- vendor
|
|
- $HOME/.composer/cache
|
|
|
|
install:
|
|
- rm composer.lock
|
|
- composer update --no-scripts
|
|
- cp .env.testing .env
|
|
- php artisan clear-compiled
|
|
- php artisan env
|
|
- wget -q https://github.com/firefly-iii/test-data/raw/master/storage/database.sqlite -O storage/database/database.sqlite
|
|
- mkdir -p build/logs
|
|
|
|
script:
|
|
- ./vendor/bin/phpunit -c phpunit.coverage.xml
|
|
|
|
after_success:
|
|
- travis_retry php vendor/bin/php-coveralls -x storage/build/clover-all.xml
|
|
|
|
# safelist
|
|
branches:
|
|
only:
|
|
- develop
|
|
- master
|