mirror of https://github.com/status-im/migrate.git
Don't trust travis go
This commit is contained in:
parent
a35e2a3c7a
commit
46c831b8e9
2
Makefile
2
Makefile
|
@ -8,11 +8,9 @@ clean:
|
|||
rm -f migrate
|
||||
|
||||
test:
|
||||
go get -t -v ./...
|
||||
$(DCR) go-test
|
||||
|
||||
build:
|
||||
go get -v -t
|
||||
$(DCR) go-build
|
||||
|
||||
release: test build docker-build docker-push
|
||||
|
|
|
@ -6,14 +6,14 @@ go: &go
|
|||
- ./migrations:/migrations
|
||||
go-test:
|
||||
<<: *go
|
||||
command: go test -v ./...
|
||||
command: sh -c 'go get -t -v ./... && go test -v ./...'
|
||||
links:
|
||||
- postgres
|
||||
- mysql
|
||||
- cassandra
|
||||
go-build:
|
||||
<<: *go
|
||||
command: go build -ldflags '-s'
|
||||
command: sh -c 'go get -v && go build -ldflags ''-s'' -o migrater'
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
postgres:
|
||||
|
|
Loading…
Reference in New Issue