Make sure database is present in tests.

This commit is contained in:
James Cole 2016-12-25 12:06:17 +01:00
parent 9ca75d134e
commit 0ef9b5b462
2 changed files with 3 additions and 2 deletions

View File

@ -5,12 +5,13 @@ php:
install: install:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
- composer selfupdate
- rm composer.lock - rm composer.lock
- composer update --no-scripts - composer update --no-scripts
- php artisan clear-compiled - php artisan clear-compiled
- php artisan optimize - php artisan optimize
- php artisan env - php artisan env
- cp .env.testing .env
- mv storage/database/databasecopy.sqlite storage/database/database.sqlite
script: script:
- phpunit - phpunit

View File

@ -1,3 +1,3 @@
* *
!.gitignore !.gitignore
!seed.*.json !databasecopy.sqlite