diff --git a/.travis.yml b/.travis.yml index 754a79853..6598344d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,26 +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 jobs: include: - - stage: Static Check + - stage: Build script: + - make install.tools - make .gitvalidation - make verify - - stage: Build - script: make binaries - - stage: Unit Test - script: make test - - stage: Integration Test + - 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.