File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -125,5 +125,6 @@ script:
125
125
- go test -v -covermode=count -coverprofile=coverage.out
126
126
- go vet ./...
127
127
- .travis/gofmt.sh
128
+ - .travis/complie_check.sh
128
129
after_script :
129
130
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+ dist_list=$( go tool dist list)
4
+
5
+ for dist in ${dist_list} ; do
6
+ GOOS=$( echo ${dist} | cut -d " /" -f 1)
7
+ GOARCH=$( echo ${dist} | cut -d " /" -f 2)
8
+ set +e
9
+ GOOS=${GOOS} GOARCH=${GOARCH} go tool compile -V > /dev/null 2>&1
10
+ if [[ $? -ne 0 ]]; then
11
+ echo " Compile support for ${GOOS} /${GOARCH} is not provided; skipping"
12
+ continue
13
+ fi
14
+ set -e
15
+ echo " Building ${GOOS} /${GOARCH} "
16
+ GOOS=${GOOS} GOARCH=${GOARCH} go build -o /dev/null
17
+ done
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Achille Roussel <achille.roussel at gmail.com>
16
16
Alex Snast <alexsn at fb.com>
17
17
Alexey Palazhchenko <alexey.palazhchenko at gmail.com>
18
18
Andrew Reid <andrew.reid at tixtrack.com>
19
+ Animesh Ray <mail.rayanimesh at gmail.com>
19
20
Arne Hormann <arnehormann at gmail.com>
20
21
Ariel Mashraki <ariel at mashraki.co.il>
21
22
Asta Xie <xiemengjun at gmail.com>
You can’t perform that action at this time.
0 commit comments