From 85c9f0231df70f3260a51c9fe2a15c7b42971eaa Mon Sep 17 00:00:00 2001 From: Mohammad Asif Siddiqui Date: Thu, 17 Aug 2017 09:15:35 +0800 Subject: [PATCH] Optimize CI build time --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 382df58b7..0b5767d5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,19 +19,19 @@ env: # docker run --rm caktux/travis-cli encrypt key=value -r kubernetes/ingress - RELEASE="ci-${TRAVIS_BUILD_ID}" -install: - - go get github.com/golang/lint/golint - - go get github.com/mattn/goveralls - - go get github.com/modocache/gover - - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi - before_script: - export PATH=$PATH:$PWD/hack/e2e-internal/ jobs: include: - stage: Static Check - script: make fmt lint vet + script: + - go get github.com/golang/lint/golint + - make fmt lint vet - stage: Coverage - script: make cover + script: + - go get github.com/mattn/goveralls + - go get github.com/modocache/gover + - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi + - make cover #- make test-e2e