Update stage as per suggestion

Signed-off-by: asifdxtreme <mohammad.asif.siddiqui1@huawei.com>
This commit is contained in:
asifdxtreme 2017-08-15 10:00:39 +08:00
parent b55e75b55e
commit b927292327

View File

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