Include config file in tarballs
This commit is contained in:
parent
b3c0a7be96
commit
5dcd90e78d
13
.travis.yml
13
.travis.yml
|
@ -25,78 +25,91 @@ script:
|
||||||
- env GOOS=windows GOARCH=386 go build
|
- env GOOS=windows GOARCH=386 go build
|
||||||
- mkdir win32
|
- mkdir win32
|
||||||
- ln dnscrypt-proxy.exe win32/
|
- ln dnscrypt-proxy.exe win32/
|
||||||
|
- ln dnscrypt-proxy.toml win32/
|
||||||
- zip -9 -r dnscrypt-proxy-win32-${TRAVIS_TAG:-dev}.zip win32
|
- zip -9 -r dnscrypt-proxy-win32-${TRAVIS_TAG:-dev}.zip win32
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=windows GOARCH=amd64 go build
|
- env GOOS=windows GOARCH=amd64 go build
|
||||||
- mkdir win64
|
- mkdir win64
|
||||||
- ln dnscrypt-proxy.exe win64/
|
- ln dnscrypt-proxy.exe win64/
|
||||||
|
- ln dnscrypt-proxy.toml win64/
|
||||||
- zip -9 -r dnscrypt-proxy-win64-${TRAVIS_TAG:-dev}.zip win64
|
- zip -9 -r dnscrypt-proxy-win64-${TRAVIS_TAG:-dev}.zip win64
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=openbsd GOARCH=386 go build
|
- env GOOS=openbsd GOARCH=386 go build
|
||||||
- mkdir openbsd-i386
|
- mkdir openbsd-i386
|
||||||
- ln dnscrypt-proxy openbsd-i386/
|
- ln dnscrypt-proxy openbsd-i386/
|
||||||
|
- ln dnscrypt-proxy.toml openbsd-i386/
|
||||||
- tar czpvf dnscrypt-proxy-openbsd_i386-${TRAVIS_TAG:-dev}.tar.gz openbsd-i386
|
- tar czpvf dnscrypt-proxy-openbsd_i386-${TRAVIS_TAG:-dev}.tar.gz openbsd-i386
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=openbsd GOARCH=amd64 go build
|
- env GOOS=openbsd GOARCH=amd64 go build
|
||||||
- mkdir openbsd-amd64
|
- mkdir openbsd-amd64
|
||||||
- ln dnscrypt-proxy openbsd-amd64/
|
- ln dnscrypt-proxy openbsd-amd64/
|
||||||
|
- ln dnscrypt-proxy.toml openbsd-amd64/
|
||||||
- tar czpvf dnscrypt-proxy-openbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz openbsd-amd64
|
- tar czpvf dnscrypt-proxy-openbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz openbsd-amd64
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=freebsd GOARCH=386 go build
|
- env GOOS=freebsd GOARCH=386 go build
|
||||||
- mkdir freebsd-i386
|
- mkdir freebsd-i386
|
||||||
- ln dnscrypt-proxy freebsd-i386/
|
- ln dnscrypt-proxy freebsd-i386/
|
||||||
|
- ln dnscrypt-proxy.toml freebsd-i386/
|
||||||
- tar czpvf dnscrypt-proxy-freebsd_i386-${TRAVIS_TAG:-dev}.tar.gz freebsd-i386
|
- tar czpvf dnscrypt-proxy-freebsd_i386-${TRAVIS_TAG:-dev}.tar.gz freebsd-i386
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=freebsd GOARCH=amd64 go build
|
- env GOOS=freebsd GOARCH=amd64 go build
|
||||||
- mkdir freebsd-amd64
|
- mkdir freebsd-amd64
|
||||||
- ln dnscrypt-proxy freebsd-amd64/
|
- ln dnscrypt-proxy freebsd-amd64/
|
||||||
|
- ln dnscrypt-proxy.toml freebsd-amd64/
|
||||||
- tar czpvf dnscrypt-proxy-freebsd_amd64-${TRAVIS_TAG:-dev}.tar.gz freebsd-amd64
|
- tar czpvf dnscrypt-proxy-freebsd_amd64-${TRAVIS_TAG:-dev}.tar.gz freebsd-amd64
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=dragonfly GOARCH=amd64 go build
|
- env GOOS=dragonfly GOARCH=amd64 go build
|
||||||
- mkdir dragonflybsd-amd64
|
- mkdir dragonflybsd-amd64
|
||||||
- ln dnscrypt-proxy dragonflybsd-amd64/
|
- ln dnscrypt-proxy dragonflybsd-amd64/
|
||||||
|
- ln dnscrypt-proxy.toml dragonflybsd-amd64/
|
||||||
- tar czpvf dnscrypt-proxy-dragonflybsd_amd64-${TRAVIS_TAG:-dev}.tar.gz dragonflybsd-amd64
|
- tar czpvf dnscrypt-proxy-dragonflybsd_amd64-${TRAVIS_TAG:-dev}.tar.gz dragonflybsd-amd64
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=netbsd GOARCH=386 go build
|
- env GOOS=netbsd GOARCH=386 go build
|
||||||
- mkdir netbsd-i386
|
- mkdir netbsd-i386
|
||||||
- ln dnscrypt-proxy netbsd-i386/
|
- ln dnscrypt-proxy netbsd-i386/
|
||||||
|
- ln dnscrypt-proxy.toml netbsd-i386/
|
||||||
- tar czpvf dnscrypt-proxy-netbsd_i386-${TRAVIS_TAG:-dev}.tar.gz netbsd-i386
|
- tar czpvf dnscrypt-proxy-netbsd_i386-${TRAVIS_TAG:-dev}.tar.gz netbsd-i386
|
||||||
|
|
||||||
- go clean
|
- go clean
|
||||||
- env GOOS=netbsd GOARCH=amd64 go build
|
- env GOOS=netbsd GOARCH=amd64 go build
|
||||||
- mkdir netbsd-amd64
|
- mkdir netbsd-amd64
|
||||||
- ln dnscrypt-proxy netbsd-amd64/
|
- ln dnscrypt-proxy netbsd-amd64/
|
||||||
|
- ln dnscrypt-proxy.toml netbsd-amd64/
|
||||||
- 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
|
- env GOOS=linux GOARCH=386 go build
|
||||||
- mkdir linux-i386
|
- mkdir linux-i386
|
||||||
- ln dnscrypt-proxy linux-i386/
|
- ln dnscrypt-proxy linux-i386/
|
||||||
|
- ln dnscrypt-proxy.toml 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
|
- env GOOS=linux GOARCH=amd64 go build
|
||||||
- mkdir linux-x86_64
|
- mkdir linux-x86_64
|
||||||
- ln dnscrypt-proxy linux-x86_64/
|
- ln dnscrypt-proxy linux-x86_64/
|
||||||
|
- ln dnscrypt-proxy.toml 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
|
- env GOOS=linux GOARCH=arm go build
|
||||||
- mkdir linux-arm
|
- mkdir linux-arm
|
||||||
- ln dnscrypt-proxy linux-arm/
|
- ln dnscrypt-proxy linux-arm/
|
||||||
|
- ln dnscrypt-proxy.toml 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=darwin GOARCH=amd64 go build
|
- env GOOS=darwin GOARCH=amd64 go build
|
||||||
- mkdir macos
|
- mkdir macos
|
||||||
- ln dnscrypt-proxy macos/
|
- ln dnscrypt-proxy macos/
|
||||||
|
- ln dnscrypt-proxy.toml macos/
|
||||||
- tar czpvf dnscrypt-proxy-macos-${TRAVIS_TAG:-dev}.tar.gz macos
|
- tar czpvf dnscrypt-proxy-macos-${TRAVIS_TAG:-dev}.tar.gz macos
|
||||||
|
|
||||||
- ls -l dnscrypt-proxy-*.tar.gz dnscrypt-proxy-*.zip
|
- ls -l dnscrypt-proxy-*.tar.gz dnscrypt-proxy-*.zip
|
||||||
|
|
Loading…
Reference in New Issue