Add migration test in drone #585

Merged
konrad merged 6 commits from feature/migration-test into master 2020-06-13 20:45:22 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit d98fd9afd4 - Show all commits

View File

@ -80,9 +80,11 @@ steps:
environment:
VIKUNJA_DATABASE_TYPE: sqlite
VIKUNJA_DATABASE_PATH: ./vikunja-migration-test.db
VIKUNJA_LOG_DATABASE: stdout
VIKUNJA_LOG_DATABASELEVEL: debug
commands:
# Get the latest version and run the migrations in it
- wget https://dl.vikunja.io/api/master/vikunja-master-linux-amd64-full.zip -O vikunja-latest.zip
- wget https://dl.vikunja.io/api/master/vikunja-master-linux-amd64-full.zip -q -O vikunja-latest.zip
- unzip vikunja-latest.zip vikunja-master-linux-amd64
- ./vikunja-master-linux-amd64 migrate
# Run the migrations from the binary build in the step before