tusd/.travis.yml

44 lines
809 B
YAML
Raw Normal View History

2015-02-01 14:02:52 +00:00
language: go
go:
- 1.12
2019-06-16 15:27:58 +00:00
os:
- linux
- windows
sudo: required
addons:
apt:
packages:
- docker-ce
cache:
apt: true
directories:
- $HOME/.gimme
- "$HOME/google-cloud-sdk/"
2019-06-16 15:13:16 +00:00
env:
- GO111MODULE=on
2016-01-08 18:23:59 +00:00
install:
- true
2015-02-01 14:02:52 +00:00
script:
2019-09-12 11:10:51 +00:00
- ./scripts/test_all.sh
before_deploy:
2019-09-12 11:10:51 +00:00
- if [[ "$TRAVIS_TAG" != "" ]]; then ./scripts/build_all.sh; fi
2015-08-19 16:08:15 +00:00
deploy:
- provider: releases
2015-08-19 16:08:15 +00:00
api_key:
secure: dV3wr9ebEps3YrzIoqmkYc7fw0IECz7QLPRENPSxTJyd5TTYXGsnTS26cMe2LdGwYrXw0njt2GGovMyBZFTtxyYI3mMO4AZRwvZfx/yGzPWJBbVi6NjZVRg/bpyK+mQJ5BUlkPAYJmRpdc6qD+nvCGakBOxoByC5XDK+yM+bKFs=
file_glob: true
file: tusd_*.*
2015-08-19 16:08:15 +00:00
skip_cleanup: true
on:
tags: true
2019-05-20 20:53:39 +00:00
go: 1.12
2015-08-19 16:08:15 +00:00
repo: tus/tusd
2019-06-16 15:27:58 +00:00
os: linux
- provider: script
2019-09-12 11:10:51 +00:00
script: scripts/deploy_kube.sh
on:
2018-01-04 16:36:10 +00:00
branch: master
2019-05-20 20:53:39 +00:00
go: 1.12
repo: tus/tusd
2019-06-16 15:27:58 +00:00
os: linux