Move job board integration tests to separate stage
@@ -18,6 +18,7 @@ env:
- GO15VENDOREXPERIMENT='1'
- REDIS_URL="redis://"
+install: skip
script: skip
jobs:
@@ -36,7 +37,6 @@ jobs:
- make test
- make crossbuild
- make smoke
- - make http-job-test
addons:
artifacts:
paths:
@@ -46,6 +46,18 @@ jobs:
- travis-ci/worker/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER
- travis-ci/worker/$(git describe --always --dirty --tags)
- travis-ci/worker/$TRAVIS_BRANCH
+ - stage: Job Board Integration Tests
+ install:
+ - go get -u github.com/alecthomas/gometalinter
+ - gometalinter --install
+ - curl -o ~/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v2.0.0/shfmt_v2.0.0_linux_amd64
+ - chmod +x ~/bin/shfmt
+ - shfmt -version
+ script:
+ - go get github.com/FiloSottile/gvt
+ - travis_retry make deps
+ - make crossbuild
+ - make http-job-test
- stage: Build and Push Docker Image
script:
- if [[ $TRAVIS_PULL_REQUEST = 'false' && $DOCKER_LOGIN_PASSWORD && $DOCKER_LOGIN_USERNAME ]]; then
