.travis.yml (535B)
1 language: go 2 go: 3 - 1.13.4 4 - tip 5 matrix: 6 allow_failures: 7 - go: tip 8 9 notifications: 10 email: 11 recipients: dean.karn@gmail.com 12 on_success: change 13 on_failure: always 14 15 before_install: 16 - go install github.com/mattn/goveralls 17 18 # Only clone the most recent commit. 19 git: 20 depth: 1 21 22 script: 23 - go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./... 24 25 after_success: | 26 [ $TRAVIS_GO_VERSION = 1.13.4 ] && 27 goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN