Install Windows package before compilation

This commit is contained in:
Marius 2019-07-21 23:21:43 +02:00
parent 4f4da61fea
commit 1089558ac3
1 changed files with 1 additions and 1 deletions

View File

@ -26,6 +26,7 @@ install:
script: script:
- ./.scripts/test_all.sh - ./.scripts/test_all.sh
before_deploy: before_deploy:
- go get golang.org/x/sys/windows
- if [[ "$TRAVIS_TAG" != "" ]]; then ./.scripts/build_all.sh; fi - if [[ "$TRAVIS_TAG" != "" ]]; then ./.scripts/build_all.sh; fi
- if [ ! -d "$HOME/google-cloud-sdk/bin" ]; then rm -rf $HOME/google-cloud-sdk; curl https://sdk.cloud.google.com | bash; fi - if [ ! -d "$HOME/google-cloud-sdk/bin" ]; then rm -rf $HOME/google-cloud-sdk; curl https://sdk.cloud.google.com | bash; fi
- source /home/travis/google-cloud-sdk/path.bash.inc - source /home/travis/google-cloud-sdk/path.bash.inc
@ -33,7 +34,6 @@ before_deploy:
- gcloud --quiet components update - gcloud --quiet components update
- gcloud --quiet components update kubectl - gcloud --quiet components update kubectl
- curl https://raw.githubusercontent.com/kubernetes/helm/d87ce93e1e287ece84d940dbfe09b0de493d9953/scripts/get | bash - curl https://raw.githubusercontent.com/kubernetes/helm/d87ce93e1e287ece84d940dbfe09b0de493d9953/scripts/get | bash
- go get golang.org/x/sys/windows
deploy: deploy:
- provider: releases - provider: releases
api_key: api_key: