From e64b9a4ff0c885868d18e379951d05d13afedb55 Mon Sep 17 00:00:00 2001 From: hslam <791874158@qq.com> Date: Fri, 27 Nov 2020 17:21:08 +0800 Subject: [PATCH] add travis ci --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9c39c2b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: go +os: + - linux +go: + - 1.13 +install: + - go get -t -v -d ./... +script: + - go test -v . + - go test -race -coverprofile=coverage.txt -covermode=atomic +after_success: + - bash <(curl -s https://codecov.io/bash) \ No newline at end of file