From 2818320ee41dbdf41923c15321d3c5c34fa49d26 Mon Sep 17 00:00:00 2001 From: q191201771 <191201771@qq.com> Date: Sat, 17 Apr 2021 20:52:01 +0800 Subject: [PATCH] messages: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - [test] ci: 逐个指定任务 --- .travis.yml | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index e89728f..553b635 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,32 @@ language: go jobs: + include: + - os: linux # default + arch: amd64 + go: master + - os: linux + arch: arm64 # arch + go: master + - os: linux + arch: ppc64le # arch + go: master + - os: linux + arch: s390x # arch + go: master + - os: linux + arch: amd64 + go: 1.13.x # go version + - os: osx # os + arch: amd64 + go: master + - os: windows # os + arch: amd64 + go: 1.13.x allow_failures: - - os: windows - -os: - - linux - - osx - -arch: - - amd64 - - arm64 - - ppc64le - - s390x - -go: - - 1.13.x - - master + - os: windows # sometimes fail in TravisCI with unknown reason + arch: amd64 + go: 1.13.x script: - ./build.sh && ./test.sh