From 4f7aa625e431ce654f67c806d565e5e6fe8a525b Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sat, 13 Oct 2018 00:58:32 +0200 Subject: [PATCH] enable linux and windows in travis ci --- .travis.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index ea9a09e87..4d2d9adf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,24 @@ sudo: required + +os: + - osx + - linux + - windows + language: go go: -- "1.11.1" + - "1.11.1" go_import_path: v2ray.com/core + git: depth: 5 + before_script: -- uname -a -- sudo ntpdate -u time.google.com -- date + - uname -a + - date + script: -- go test -p 1 -tags json -v v2ray.com/core/... + - go test -p 1 -tags json -v v2ray.com/core/... + after_success: -- ./testing/coverage/coverall + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./testing/coverage/coverall; fi