Add test for view build files
This commit is contained in:
parent
bf06b0234c
commit
ea6118e652
@ -15,13 +15,12 @@ install:
|
|||||||
- # skip
|
- # skip
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go mod download
|
|
||||||
- go mod verify
|
|
||||||
- go get ./...
|
- go get ./...
|
||||||
- diff -u <(echo -n) <(gofmt -d .)
|
- diff -u <(echo -n) <(gofmt -d .)
|
||||||
- go test -v -race ./...
|
- go test -v -race ./...
|
||||||
# Only build binaries from the latest Go release.
|
# Only build binaries from the latest Go release.
|
||||||
- if [ "${LATEST}" = "true" ]; then gox -os="linux" -arch="amd64" -output="concron.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./src/; fi
|
- if [ "${LATEST}" = "true" ]; then gox -os="linux" -arch="amd64" -output="concron.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./src/; fi
|
||||||
|
- ls -la
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
Loading…
x
Reference in New Issue
Block a user