1111script :
1212 - echo $TRAVIS_GO_VERSION
1313 - cd dnscrypt-proxy
14- - curl -L https://download.dnscrypt.info/tools/upx-linux > upx
15- - chmod +x upx
1614
1715 - go clean
1816 - env GOOS=solaris go build -ldflags="-s -w"
@@ -81,35 +79,35 @@ script:
8179 - tar czpvf dnscrypt-proxy-netbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz netbsd-amd64
8280
8381 - go clean
84- - env GOOS=linux GOARCH=386 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
82+ - env GOOS=linux GOARCH=386 go build -ldflags="-s -w"
8583 - mkdir linux-i386
8684 - ln dnscrypt-proxy linux-i386/
8785 - ln ../LICENSE ../systemd/* dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-i386/
8886 - tar czpvf dnscrypt-proxy-linux_i386-${TRAVIS_TAG:-dev}.tar.gz linux-i386
8987
9088 - go clean
91- - env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
89+ - env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"
9290 - mkdir linux-x86_64
9391 - ln dnscrypt-proxy linux-x86_64/
9492 - ln ../LICENSE ../systemd/* dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-x86_64/
9593 - tar czpvf dnscrypt-proxy-linux_x86_64-${TRAVIS_TAG:-dev}.tar.gz linux-x86_64
9694
9795 - go clean
98- - env GOOS=linux GOARCH=arm go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
96+ - env GOOS=linux GOARCH=arm go build -ldflags="-s -w"
9997 - mkdir linux-arm
10098 - ln dnscrypt-proxy linux-arm/
10199 - ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-arm/
102100 - tar czpvf dnscrypt-proxy-linux_arm-${TRAVIS_TAG:-dev}.tar.gz linux-arm
103101
104102 - go clean
105- - env GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
103+ - env GOOS=linux GOARCH=arm64 go build -ldflags="-s -w"
106104 - mkdir linux-arm64
107105 - ln dnscrypt-proxy linux-arm64/
108106 - ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-arm64/
109107 - tar czpvf dnscrypt-proxy-linux_arm64-${TRAVIS_TAG:-dev}.tar.gz linux-arm64
110108
111109 - go clean
112- - env GOOS=linux GOARCH=mips GOMIPS=softfloat go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
110+ - env GOOS=linux GOARCH=mips GOMIPS=softfloat go build -ldflags="-s -w"
113111 - mkdir linux-mips
114112 - ln dnscrypt-proxy linux-mips/
115113 - ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt linux-mips/
@@ -130,7 +128,7 @@ script:
130128 - tar czpvf dnscrypt-proxy-linux_mips64le-${TRAVIS_TAG:-dev}.tar.gz linux-mips64le
131129
132130 - go clean
133- - env GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" && ./upx --lzma --best dnscrypt-proxy
131+ - env GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w"
134132 - mkdir macos
135133 - ln dnscrypt-proxy macos/
136134 - ln ../LICENSE dnscrypt-proxy.toml forwarding-rules.txt blacklist.txt macos/
0 commit comments