From b4aab30d7e30167cb3fedb9826f04aa5515390cb Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Fri, 9 Aug 2019 08:25:11 -0400 Subject: [PATCH] tests: break out command, command/agent on Travis (#6094) The command and command/agent packages are taking 5+ minutes on Travis and this contributes to build timeouts. While this doesn't address underlying issues, breaking these out can reduce re-runs until that work is done. --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b1af7eb62..6261674e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,16 @@ matrix: sudo: required env: GOTEST_PKGS="./client" <<: *skip_for_ui_branches + - os: linux + dist: xenial + sudo: required + env: GOTEST_PKGS="./command" GOTEST_PKGS_EXCLUDE="./command/agent" + <<: *skip_for_ui_branches + - os: linux + dist: xenial + sudo: required + env: GOTEST_PKGS="./command/agent" + <<: *skip_for_ui_branches - os: linux dist: xenial sudo: required @@ -46,7 +56,7 @@ matrix: - os: linux dist: xenial sudo: required - env: GOTEST_PKGS_EXCLUDE="./api|./client|./drivers/docker|./drivers/exec|./nomad" + env: GOTEST_PKGS_EXCLUDE="./api|./client|./command|./command/agent|./drivers/docker|./drivers/exec|./nomad" <<: *skip_for_ui_branches - os: linux dist: xenial