2
0
mirror of https://github.com/namecoin/ncdns synced 2024-10-31 09:20:31 +00:00
ncdns/.travis.yml
Hugo Landau 86b5c89f3d
Fix Travis environment variables
Whoops, needs to be under global: or it gets interpreted as a build
matrix.

©! I, Hugo Landau <hlandau@devever.net>, hereby licence these changes under the
©! licence with SHA256 hash
©! fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc.
2017-08-19 21:41:55 +01:00

31 lines
735 B
YAML

language: go
go:
- 1.7.1
- 1.8.3
addons:
apt:
packages:
- libcap-dev
- gcc-multilib
- libc6-dev:i386
- libcap-dev:i386
sudo: false
install:
- go generate -v ./...
- go get -v -t ./...
- env GOOS=windows GOARCH=amd64 go get -d -v -t ./...
script:
- source ./.travis/script
after_success:
- source ./.travis/after_success
env:
global:
# GITHUB_TOKEN for automatic releases
- secure: "at1oJs7ib7glx3W+zk+OkT041LdknVXirIhN403CIihVUrlOhODY7yCTgvF4Rk0jYBJiT35Q2qxpgfWF2qGnsNsQmjG3ydDWQDCepDc/CgXfLyoiSTJK5vTK72dYWTVsBTycXbj1CbSy2X2ah/KWjc4RcgZ67ER7mDpRU5nFeow="
# Set this to the Go version to use for releases (must appear in version list above).
- RELEASE_GO_VERSION="1.8"