2016-11-19 09:03:59 -06:00
|
|
|
language: php
|
|
|
|
php:
|
2017-01-24 04:49:05 -06:00
|
|
|
- 7.0
|
|
|
|
- 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 optimize
|
|
|
|
- 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-05-03 14:22:01 -05:00
|
|
|
- phpunit -c phpunit.xml
|
2017-03-19 11:54:21 -05:00
|
|
|
|
2017-05-03 14:22:01 -05:00
|
|
|
#after_success:
|
|
|
|
# - travis_retry php vendor/bin/coveralls -x storage/build/clover.xml
|
2017-02-19 10:01:29 -06:00
|
|
|
|
|
|
|
# safelist
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- develop
|
|
|
|
- master
|