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:
|
||||
- go test
|
||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db up
|
||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db version
|
||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db down
|
||||
- go run ./cmd/goose/main.go -dir=example/migrations sqlite3 sql.db status
|
||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db up
|
||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db version
|
||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db down
|
||||
- go run ./example/migrations-go/cmd/main.go -dir=example/migrations-go sqlite3 go.db status
|
||||
- go build -i -o goose ./cmd/goose
|
||||
- ./goose -dir=example/migrations sqlite3 sql.db up
|
||||
- ./goose -dir=example/migrations sqlite3 sql.db version
|
||||
- ./goose -dir=example/migrations sqlite3 sql.db down
|
||||
- ./goose -dir=example/migrations sqlite3 sql.db status
|
||||
- go build -i -o custom-goose ./example/migrations-go
|
||||
- ./custom-goose -dir=example/migrations-go sqlite3 go.db up
|
||||
- ./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