parent
996d9be4e3
commit
1d5cce9cd1
14
.travis.yml
14
.travis.yml
|
@ -11,8 +11,6 @@ go:
|
||||||
script:
|
script:
|
||||||
- echo $TRAVIS_GO_VERSION
|
- echo $TRAVIS_GO_VERSION
|
||||||
- cd dnscrypt-proxy
|
- cd dnscrypt-proxy
|
||||||
- curl -L https://download.dnscrypt.info/tools/upx-linux > upx
|
|
||||||
- chmod +x upx
|
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=solaris go build -ldflags="-s -w"
|
- env GOOS=solaris go build -ldflags="-s -w"
|
||||||
|
@ -81,35 +79,35 @@ script:
|
||||||
- tar czpvf dnscrypt-proxy-netbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz netbsd-amd64
|
- tar czpvf dnscrypt-proxy-netbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz netbsd-amd64
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=linux GOARCH=386 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
|
- env GOOS=linux GOARCH=386 go build -ldflags="-s -w"
|
||||||
- mkdir linux-i386
|
- mkdir linux-i386
|
||||||
- ln dnscrypt-proxy linux-i386/
|
- ln dnscrypt-proxy linux-i386/
|
||||||
- ln ../LICENSE ../systemd/* dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-i386/
|
- ln ../LICENSE ../systemd/* dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-i386/
|
||||||
- tar czpvf dnscrypt-proxy-linux_i386-${TRAVIS_TAG:-dev}.tar.gz linux-i386
|
- tar czpvf dnscrypt-proxy-linux_i386-${TRAVIS_TAG:-dev}.tar.gz linux-i386
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
|
- env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"
|
||||||
- mkdir linux-x86_64
|
- mkdir linux-x86_64
|
||||||
- ln dnscrypt-proxy linux-x86_64/
|
- ln dnscrypt-proxy linux-x86_64/
|
||||||
- ln ../LICENSE ../systemd/* dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-x86_64/
|
- ln ../LICENSE ../systemd/* dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-x86_64/
|
||||||
- tar czpvf dnscrypt-proxy-linux_x86_64-${TRAVIS_TAG:-dev}.tar.gz linux-x86_64
|
- tar czpvf dnscrypt-proxy-linux_x86_64-${TRAVIS_TAG:-dev}.tar.gz linux-x86_64
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=linux GOARCH=arm go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
|
- env GOOS=linux GOARCH=arm go build -ldflags="-s -w"
|
||||||
- mkdir linux-arm
|
- mkdir linux-arm
|
||||||
- ln dnscrypt-proxy linux-arm/
|
- ln dnscrypt-proxy linux-arm/
|
||||||
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-arm/
|
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-arm/
|
||||||
- tar czpvf dnscrypt-proxy-linux_arm-${TRAVIS_TAG:-dev}.tar.gz linux-arm
|
- tar czpvf dnscrypt-proxy-linux_arm-${TRAVIS_TAG:-dev}.tar.gz linux-arm
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
|
- env GOOS=linux GOARCH=arm64 go build -ldflags="-s -w"
|
||||||
- mkdir linux-arm64
|
- mkdir linux-arm64
|
||||||
- ln dnscrypt-proxy linux-arm64/
|
- ln dnscrypt-proxy linux-arm64/
|
||||||
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-arm64/
|
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-arm64/
|
||||||
- tar czpvf dnscrypt-proxy-linux_arm64-${TRAVIS_TAG:-dev}.tar.gz linux-arm64
|
- tar czpvf dnscrypt-proxy-linux_arm64-${TRAVIS_TAG:-dev}.tar.gz linux-arm64
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=linux GOARCH=mips GOMIPS=softfloat go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
|
- env GOOS=linux GOARCH=mips GOMIPS=softfloat go build -ldflags="-s -w"
|
||||||
- mkdir linux-mips
|
- mkdir linux-mips
|
||||||
- ln dnscrypt-proxy linux-mips/
|
- ln dnscrypt-proxy linux-mips/
|
||||||
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-mips/
|
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-mips/
|
||||||
|
@ -130,7 +128,7 @@ script:
|
||||||
- tar czpvf dnscrypt-proxy-linux_mips64le-${TRAVIS_TAG:-dev}.tar.gz linux-mips64le
|
- tar czpvf dnscrypt-proxy-linux_mips64le-${TRAVIS_TAG:-dev}.tar.gz linux-mips64le
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
|
- env GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w"
|
||||||
- mkdir macos
|
- mkdir macos
|
||||||
- ln dnscrypt-proxy macos/
|
- ln dnscrypt-proxy macos/
|
||||||
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt macos/
|
- ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt macos/
|
||||||
|
|
Loading…
Reference in New Issue