Skip to content

Commit 5ed7c5e

Browse files
Merge pull request #6 from theag3nt/travis-builds
Reorganize TravisCI build config to fix cross-platform builds
2 parents d7ccc43 + 8739d45 commit 5ed7c5e

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.travis.yml

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
language: go
22
sudo: false
33

4+
go:
5+
- "1.8.x"
6+
- "1.9.x"
7+
- "1.10.x"
8+
- "1.11.x"
9+
- tip
10+
env:
11+
- GIMME_OS=linux
12+
- GIMME_OS=darwin
13+
- GIMME_OS=windows
14+
415
matrix:
5-
include:
6-
- go: 1.8
7-
- go: 1.9
16+
allow_failures:
817
- go: tip
18+
fast_finish: true
919

1020
install:
11-
- # Skip
21+
- go get -d -v ./...
1222

1323
script:
14-
- go get -t -v ./...
1524
- diff -u <(echo -n) <(gofmt -d .)
1625
- go tool vet .
17-
- GOOS=linux go build -o duckdns-linux
18-
- GOOS=darwin go build -o duckdns-macos
19-
- GOOS=windows go build -o duckdns-windows
26+
- go build -v ./...

0 commit comments

Comments
 (0)