.travis.yml

 1language: go
 2sudo: true
 3dist: bionic
 4
 5branches:
 6  only:
 7    - main
 8
 9os:
10  - linux
11  - osx
12  # Travis doesn't work with windows and Go tip
13  #- windows
14
15go:
16  - tip
17
18matrix:
19  allow_failures:
20    - go: tip
21
22before_install:
23  - if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install make; fi
24  - (cd /tmp/; go get golang.org/x/lint/golint)
25
26script:
27  - make go test -v ./...;
28