From ca26db7aa4a646ae6cc31f035f494d88132216cc Mon Sep 17 00:00:00 2001 From: lwch Date: Wed, 18 Aug 2021 11:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0travis=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..318c27f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: go + +os: + - windows + - linux + - mac + +go: + - 1.10.x + - 1.11.x + - 1.12.x + - 1.13.x + - 1.14.x + - 1.15.x + - 1.16.x + +script: go test -race -coverprofile=coverage.txt -covermode=atomic + +after_success: bash <(curl -s https://codecov.io/bash) \ No newline at end of file