Travis-CI configuration added. Now, we'll test coverage on every commit.

This commit is contained in:
Musab Gültekin 2019-06-14 15:24:15 +03:00
parent 6caf1effd6
commit c6ea82447a

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: go
go:
- 1.12.x
- tip
before_install:
- go get -t -v ./...
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)