build: make explicit which matrix items we will deploy

This commit is contained in:
Nick Craig-Wood 2019-07-02 14:02:58 +01:00
parent dcaee0016a
commit cf15b88efa

View File

@ -62,6 +62,7 @@ matrix:
- go: 1.12.x
env:
- GOTAGS=cmount
- DEPLOY=true
script:
- make build_dep
- make check
@ -78,6 +79,7 @@ matrix:
go: 1.12.x
env:
- GOTAGS= # cmount doesn't work on osx travis for some reason
- DEPLOY=true
cache:
directories:
- $HOME/Library/Caches/go-build
@ -109,5 +111,4 @@ deploy:
on:
repo: ncw/rclone
all_branches: true
go: 1.12.x
condition: $TRAVIS_PULL_REQUEST == false && $TRAVIS_OS_NAME != "windows"
condition: $TRAVIS_PULL_REQUEST == false && $DEPLOY == true