From b55e75b55e950092a43753b037adfa75c019bc73 Mon Sep 17 00:00:00 2001 From: Mohammad Asif Siddiqui Date: Mon, 14 Aug 2017 20:44:35 +0800 Subject: [PATCH] Split Travis Build in Stages Signed-off-by: asifdxtreme --- .travis.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7694295b5..754a79853 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: go go: - - 1.8.x - - tip + - 1.8 sudo: required @@ -24,12 +23,20 @@ install: before_script: - export PATH=$HOME/gopath/bin:$PATH -script: - - make .gitvalidation - - make verify - - make binaries - - make test - - make test-cri +jobs: + include: + - stage: Static Check + script: + - make .gitvalidation + - make verify + - stage: Build + script: make binaries + - stage: Unit Test + script: make test + - stage: Integration Test + script: + - make binaries + - make test-cri after_script: # Abuse travis to preserve the log. # TODO(random-liu): Use prow for integration test.