source: code/trunk/.travis.yml@ 125

Last change on this file since 125 was 95, checked in by alex, 6 years ago

Merge pull request #77 from dalf/fix-tests

[fix] tests

File size: 432 bytes
Line 
1language: go
2sudo: false
3go:
4 - 1.12.x
5script:
6 # run tests on a standard platform
7 - OUT="$(go get -a)"; test -z "$OUT" || (echo "$OUT" && return 1)
8 - OUT="$(gofmt -l -d ./)"; test -z "$OUT" || (echo "$OUT" && return 1)
9 - go vet -v ./...
10 - go test -v ./...
11
12 # build test for supported platforms
13 - GOOS=linux go build
14 - GOOS=darwin go build
15 - GOOS=freebsd go build
16 - GOOS=windows go build
17 - GOARCH=386 go build
Note: See TracBrowser for help on using the repository browser.