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

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

Merge pull request #77 from dalf/fix-tests

[fix] tests

File size: 432 bytes
RevLine 
[54]1language: go
[94]2sudo: false
[54]3go:
[94]4 - 1.12.x
[54]5script:
6 # run tests on a standard platform
[94]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 ./...
[54]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.