mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-15 19:22:08 -06:00
29 lines
527 B
YAML
29 lines
527 B
YAML
language: php
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
|
|
cache:
|
|
directories:
|
|
- vendor
|
|
- $HOME/.composer/cache
|
|
|
|
install:
|
|
- if [[ "$(php -v | grep 'PHP 7')" ]]; then phpenv config-rm xdebug.ini; fi
|
|
- rm composer.lock
|
|
- composer update --no-scripts
|
|
- cp .env.testing .env
|
|
- php artisan clear-compiled
|
|
- php artisan optimize
|
|
- php artisan env
|
|
- cp .env.testing .env
|
|
- mv storage/database/databasecopy.sqlite storage/database/database.sqlite
|
|
|
|
script:
|
|
- phpunit
|
|
|
|
# safelist
|
|
branches:
|
|
only:
|
|
- develop
|
|
- master |