From b4aeb83dbb9ae337f157348736fa287f7f8545c1 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Fri, 16 Nov 2018 11:08:16 +0100 Subject: [PATCH] travis: split up into 3 builds This commit distributes the CI tests into 3 independend builds, by splitting the integration test run and unit test coverage. To better handle the extra cases, we define a build matrix with the three build types (RACE and LINT, ITEST, COVER). --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9ef7f22e..d9d64126 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,12 @@ language: go -matrix: - include: - - go: "1.11.x" - env: RACE=true LINT=true - - go: "1.11.x" - env: ITEST=true COVER=true LINT=true +go: + - "1.11.x" + +env: + matrix: + - RACE=true LINT=true + - ITEST=true + - COVER=true sudo: required install: