Split Travis Build in Stages

Signed-off-by: asifdxtreme <mohammad.asif.siddiqui1@huawei.com>
This commit is contained in:
Mohammad Asif Siddiqui 2017-08-14 20:44:35 +08:00 committed by asifdxtreme
parent 83a20c9fd1
commit b55e75b55e

View File

@ -1,7 +1,6 @@
language: go
go:
- 1.8.x
- tip
- 1.8
sudo: required
@ -24,11 +23,19 @@ install:
before_script:
- export PATH=$HOME/gopath/bin:$PATH
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
- make test-cri
after_script:
# Abuse travis to preserve the log.