mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 08:26:45 +02:00
15 lines
277 B
Bash
15 lines
277 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Tweak PATH for Travis
|
||
|
export PATH=$PATH:$HOME/gopath/bin
|
||
|
|
||
|
OPTIONS="-config=test-integration/dbconfig.yml -env postgres"
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
sql-migrate status $OPTIONS
|
||
|
sql-migrate up $OPTIONS
|
||
|
sql-migrate down $OPTIONS
|
||
|
sql-migrate redo $OPTIONS
|
||
|
sql-migrate status $OPTIONS
|