Last change
on this file since 69 was 54, checked in by asciimoo, 9 years ago |
[enh] add travis config
|
File size:
355 bytes
|
Rev | Line | |
---|
[54] | 1 | language: go
|
---|
| 2 |
|
---|
| 3 | go:
|
---|
| 4 | - 1.6
|
---|
| 5 | - 1.7
|
---|
| 6 | - tip
|
---|
| 7 |
|
---|
| 8 | script:
|
---|
| 9 | # static checks
|
---|
| 10 | - test -z "$(gofmt -l ./)"
|
---|
| 11 | - test -z "$(go vet -v ./...)"
|
---|
| 12 |
|
---|
| 13 | # run tests on a standard platform
|
---|
| 14 | - go test -v ./...
|
---|
| 15 |
|
---|
| 16 | # build test for supported platforms
|
---|
| 17 | - GOOS=linux go build
|
---|
| 18 | - GOOS=darwin go build
|
---|
| 19 | - GOOS=freebsd go build
|
---|
| 20 | - GOOS=windows go build
|
---|
| 21 | - GOARCH=386 go build
|
---|
Note:
See
TracBrowser
for help on using the repository browser.