mirror of https://github.com/pressly/goose.git
Improve .travis tests
parent
4df66b56ef
commit
8daf954f3a
18
.travis.yml
18
.travis.yml
|
@ -10,11 +10,13 @@ install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test
|
- go test
|
||||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db up
|
- go build -i -o goose ./cmd/goose
|
||||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db version
|
- ./goose -dir=example/migrations sqlite3 sql.db up
|
||||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db down
|
- ./goose -dir=example/migrations sqlite3 sql.db version
|
||||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db status
|
- ./goose -dir=example/migrations sqlite3 sql.db down
|
||||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db up
|
- ./goose -dir=example/migrations sqlite3 sql.db status
|
||||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db version
|
- go build -i -o custom-goose ./example/migrations-go
|
||||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db down
|
- ./custom-goose -dir=example/migrations-go sqlite3 go.db up
|
||||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db status
|
- ./custom-goose -dir=example/migrations-go sqlite3 go.db version
|
||||||
|
- ./custom-goose -dir=example/migrations-go sqlite3 go.db down
|
||||||
|
- ./custom-goose -dir=example/migrations-go sqlite3 go.db status
|
||||||
|
|
Loading…
Reference in New Issue