Skip to content

Commit

Permalink
travis: run migrations before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grvcoelho committed Oct 27, 2017
1 parent f1028a2 commit bd7f7e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)

script:
- docker-compose run webhulk go run main.go migrate
- docker-compose run webhulk go test -v ./...
- test -z $(gofmt -s -l $GO_FILES)
- go vet ./...

0 comments on commit bd7f7e1

Please sign in to comment.