mirror of https://github.com/statping/statping
parent
3cd46fa6c4
commit
6bbf636bed
|
@ -17,7 +17,7 @@ services:
|
|||
- mongodb
|
||||
|
||||
env:
|
||||
- VERSION=0.15
|
||||
- VERSION=0.151
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
|
2
build.sh
2
build.sh
|
@ -14,8 +14,6 @@ xgo --targets=linux/386 --dest=build -ldflags="-X main.VERSION=$VERSION" ./
|
|||
|
||||
xgo --targets=windows/amd64 --dest=build -ldflags="-X main.VERSION=$VERSION" ./
|
||||
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags '-X main.VERSION=$VERSION -w -extldflags "-static"' -o build/statup-linux-static .
|
||||
|
||||
cd build
|
||||
ls
|
||||
cd ../
|
||||
|
|
Loading…
Reference in New Issue