mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update travis script.
This commit is contained in:
parent
e60dde7ce5
commit
d9a2e081bd
@ -16,7 +16,7 @@ install:
|
|||||||
- php artisan optimize
|
- php artisan optimize
|
||||||
- php artisan env
|
- php artisan env
|
||||||
- cp .env.testing .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
|
- mkdir -p build/logs
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
3
test.sh
3
test.sh
@ -93,6 +93,9 @@ then
|
|||||||
|
|
||||||
# copy new database over backup (resets backup)
|
# copy new database over backup (resets backup)
|
||||||
cp $DATABASE $DATABASECOPY
|
cp $DATABASE $DATABASECOPY
|
||||||
|
|
||||||
|
# copy new database to test-data repository:
|
||||||
|
cp $DATABASE /sites/FF3/test-data/storage/database.sqlite
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# do not reset database (optional)
|
# do not reset database (optional)
|
||||||
|
Loading…
Reference in New Issue
Block a user