fix travis
This commit is contained in:
parent
14339e72d4
commit
ca83caf357
10
.travis.yml
10
.travis.yml
|
@ -20,8 +20,10 @@ script:
|
||||||
- go get -t -v ./...
|
- go get -t -v ./...
|
||||||
- diff -u <(echo -n) <(gofmt -d .)
|
- diff -u <(echo -n) <(gofmt -d .)
|
||||||
- go vet $(go list ./... | grep -v /vendor/)
|
- go vet $(go list ./... | grep -v /vendor/)
|
||||||
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
|
|
||||||
- make build
|
- make build
|
||||||
|
# Switch over GCC to cross compilation (breaks 386, hence why do it here only)
|
||||||
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
|
||||||
|
- sudo ln -s /usr/include/asm-generic /usr/include/asm
|
||||||
- make build-cross-plat
|
- make build-cross-plat
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -31,9 +33,9 @@ deploy:
|
||||||
# *encrypted* GitHub key, as the output of the Travis CI CLI tool
|
# *encrypted* GitHub key, as the output of the Travis CI CLI tool
|
||||||
secure: TODO...
|
secure: TODO...
|
||||||
file:
|
file:
|
||||||
- dist/wg-portal_linux_amd64
|
- dist/wg-portal-amd64
|
||||||
- dist/wg-portal_linux_arm64
|
- dist/wg-portal-arm64
|
||||||
- dist/wg-portal_linux_arm
|
- dist/wg-portal-arm
|
||||||
- dist/wg-portal.env
|
- dist/wg-portal.env
|
||||||
- dist/wg-portal.service
|
- dist/wg-portal.service
|
||||||
on:
|
on:
|
||||||
|
|
Loading…
Reference in New Issue