diff options
author | Dean Karn <Dean.Karn@gmail.com> | 2019-10-18 07:43:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 07:43:02 +0300 |
commit | ec2192eb0f1fa836d765f9871a93e2200b75bb91 (patch) | |
tree | 0e5400389b9ff5dc5237013be58b86d69a2212e6 /.travis.yml | |
parent | 630ebbb602847eba93e75ae38bbc7bb7abcf1ff3 (diff) |
Modules (#26)
* update to use go modules
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..d50237a6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: go +go: + - 1.13.1 + - tip +matrix: + allow_failures: + - go: tip + +notifications: + email: + recipients: dean.karn@gmail.com + on_success: change + on_failure: always + +before_install: + - go install github.com/mattn/goveralls + +# Only clone the most recent commit. +git: + depth: 1 + +script: + - go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./... + +after_success: | + goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
\ No newline at end of file |