From 9a8a79a4a2cd6a35671d1ca574dc75734d5dfe96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E4=B8=96=E6=88=90?= Date: Tue, 23 Oct 2018 20:05:40 +0800 Subject: [PATCH] Update travis ci config file to support converalls --- .travis.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04ac2da..a07c04f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,19 +6,15 @@ os: - windows go: - - "1.x" - "1.8" - "1.10.x" - "1.11.x" + - "tip" + before_install: - - go get -t -v ./... - + - go get github.com/mattn/goveralls script: - - go test -race -coverprofile=coverage.txt -covermode=atomic ./... - - go build - -after_success: - - bash <(curl -s https://codecov.io/bash) + - $GOPATH/bin/goveralls -service=travis-ci deploy: provider: releases -- 2.45.2