From 4bb78f6d2b75bad74863921cf42be4e29f3347b6 Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Sat, 13 Apr 2019 22:36:19 +0200 Subject: [PATCH] Create .travis.yml --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d4c5e54 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +sudo: false + +language: go + +go: + - master + +# Required for coverage, and testing. +#before_install: +# - go get golang.org/x/tools/cmd/cover + #- go get github.com/mattn/goveralls + +script: + - go build -x -v ./cmd/main.go + - go test -race -coverprofile=coverage.txt -covermode=atomic -a -x -v *.go + +notifications: + email: + recipients: + - pablo1@mailbox.org + +after_success: + - bash <(curl -s https://codecov.io/bash)