Split Travis Build in Stages
Signed-off-by: asifdxtreme <mohammad.asif.siddiqui1@huawei.com>
This commit is contained in:
parent
83a20c9fd1
commit
b55e75b55e
13
.travis.yml
13
.travis.yml
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user