.travis.yml (498B)
1 language: go 2 go: 3 - 1.13.1 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 goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN