diff --git a/.travis.yml b/.travis.yml index 9e633c9bb1..930e42cb60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ install: - php artisan optimize - php artisan env - cp .env.testing .env - - mv storage/database/databasecopy.sqlite storage/database/database.sqlite + - wget -q https://github.com/firefly-iii/test-data/raw/master/storage/database.sqlite -O storage/database/database.sqlite - mkdir -p build/logs script: diff --git a/test.sh b/test.sh index 90e472cd80..ea9dbe9ddf 100755 --- a/test.sh +++ b/test.sh @@ -93,6 +93,9 @@ then # copy new database over backup (resets backup) cp $DATABASE $DATABASECOPY + + # copy new database to test-data repository: + cp $DATABASE /sites/FF3/test-data/storage/database.sqlite fi # do not reset database (optional)