Merge pull request #3705 from dmcgowan/limit-travis-release

Limit travis release script to a single build
This commit is contained in:
Phil Estes 2019-10-01 08:24:48 -04:00 committed by GitHub
commit 1009023783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ go:
env: env:
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic - TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic - TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic TRAVIS_RELEASE=yes
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic - TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic
- TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0 - TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
@ -106,8 +106,7 @@ after_success:
- bash <(curl -s https://codecov.io/bash) -F linux - bash <(curl -s https://codecov.io/bash) -F linux
before_deploy: before_deploy:
- make release - if [ "$TRAVIS_RELEASE" = "yes" ]; then make release cri-release; fi
- if [ "$TRAVIS_GOOS" = "linux" ]; then make cri-release; fi
deploy: deploy:
- provider: releases - provider: releases