From d9a2e081bd7f379b0bf1a7442d1edead93e85e52 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 28 Jun 2017 15:27:31 +0200 Subject: [PATCH] Update travis script. --- .travis.yml | 2 +- test.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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)