Merge pull request #132 from asifdxtreme/patch-1

Split the travis Build in different Build and Test Stage
This commit is contained in:
Lantao Liu 2017-08-14 21:07:56 -07:00 committed by GitHub
commit 7ba0679e14

View File

@ -1,7 +1,6 @@
language: go
go:
- 1.8.x
- tip
- 1.8
sudo: required
@ -18,18 +17,25 @@ install:
- sudo apt-get install libseccomp2/trusty-backports
- sudo apt-get install libseccomp-dev/trusty-backports
- docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter
- make install.tools
- make install.deps
before_script:
- export PATH=$HOME/gopath/bin:$PATH
script:
jobs:
include:
- stage: Build
script:
- make install.tools
- make .gitvalidation
- make verify
- make binaries
- stage: Test
script:
- make install.deps
- make test
- make binaries
- make test-cri
after_script:
# Abuse travis to preserve the log.
# TODO(random-liu): Use prow for integration test.