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