From 73c26bc792cf31dec6e06e2787a707c43c741057 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Fri, 15 Nov 2019 12:13:51 +0800 Subject: [PATCH] Testing ants on multiple operating systems --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 494077a..4e7b3d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,18 @@ language: go -go: - - "1.9.x" - - "1.10.x" - - "1.11.x" - - "1.12.x" - - "1.13.x" +os: + - linux + - osx + - windows -before_install: - - go get -t -v ./... +go: + - 1.11.x + - 1.12.x + - 1.13.x script: #- go test -cpu=16 -bench=. -benchmem=true -run=none ./... - go test -race -coverprofile=coverage.txt -covermode=atomic -v after_success: - - bash <(curl -s https://codecov.io/bash) + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then curl -s https://codecov.io/bash > .codecov && chmod +x .codecov && ./.codecov; else bash <(curl -s https://codecov.io/bash); fi