2015-02-01 14:02:52 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2015-12-26 21:36:38 +00:00
|
|
|
- 1.5
|
2016-05-10 10:01:32 +00:00
|
|
|
- 1.6
|
2016-08-26 14:30:40 +00:00
|
|
|
- 1.7
|
2017-02-21 22:27:23 +00:00
|
|
|
- 1.8
|
2017-08-26 14:32:03 +00:00
|
|
|
- 1.9
|
2018-05-13 12:31:50 +00:00
|
|
|
- "1.10"
|
2019-01-14 15:19:11 +00:00
|
|
|
- 1.11
|
2019-05-20 20:38:53 +00:00
|
|
|
- 1.12
|
2016-11-11 20:41:11 +00:00
|
|
|
sudo: required
|
2019-01-14 12:10:18 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- docker-ce
|
2016-03-29 13:31:33 +00:00
|
|
|
cache:
|
|
|
|
apt: true
|
|
|
|
directories:
|
|
|
|
- $HOME/.gimme
|
2018-01-03 12:10:44 +00:00
|
|
|
- "$HOME/google-cloud-sdk/"
|
2015-12-26 21:36:38 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO15VENDOREXPERIMENT=1
|
2016-01-08 18:23:59 +00:00
|
|
|
install:
|
2016-12-20 16:25:24 +00:00
|
|
|
- true
|
2015-02-01 14:02:52 +00:00
|
|
|
script:
|
2016-09-29 22:46:05 +00:00
|
|
|
- ./.scripts/test_all.sh
|
2016-11-11 20:24:45 +00:00
|
|
|
before_deploy:
|
|
|
|
- if [[ "$TRAVIS_TAG" != "" ]]; then ./.scripts/build_all.sh; fi
|
2018-01-03 12:10:44 +00:00
|
|
|
- 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
|
|
|
|
- gcloud --quiet version
|
|
|
|
- gcloud --quiet components update
|
|
|
|
- gcloud --quiet components update kubectl
|
2019-04-10 20:53:35 +00:00
|
|
|
- curl https://raw.githubusercontent.com/kubernetes/helm/d87ce93e1e287ece84d940dbfe09b0de493d9953/scripts/get | bash
|
2015-08-19 16:08:15 +00:00
|
|
|
deploy:
|
2016-11-11 14:59:01 +00:00
|
|
|
- provider: releases
|
2015-08-19 16:08:15 +00:00
|
|
|
api_key:
|
|
|
|
secure: dV3wr9ebEps3YrzIoqmkYc7fw0IECz7QLPRENPSxTJyd5TTYXGsnTS26cMe2LdGwYrXw0njt2GGovMyBZFTtxyYI3mMO4AZRwvZfx/yGzPWJBbVi6NjZVRg/bpyK+mQJ5BUlkPAYJmRpdc6qD+nvCGakBOxoByC5XDK+yM+bKFs=
|
2016-09-29 22:10:42 +00:00
|
|
|
file_glob: true
|
|
|
|
file: tusd_*.*
|
2015-08-19 16:08:15 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
2016-03-29 17:41:44 +00:00
|
|
|
tags: true
|
2017-02-21 22:27:23 +00:00
|
|
|
go: 1.8
|
2015-08-19 16:08:15 +00:00
|
|
|
repo: tus/tusd
|
2018-01-03 12:10:44 +00:00
|
|
|
- provider: script
|
|
|
|
script: .scripts/deploy_gcloud.sh
|
|
|
|
on:
|
2018-01-04 16:36:10 +00:00
|
|
|
branch: master
|
2018-01-03 12:10:44 +00:00
|
|
|
go: 1.8
|
|
|
|
repo: tus/tusd
|