2015-02-01 14:02:52 +00:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.2
|
|
|
|
- 1.3
|
|
|
|
- 1.4
|
2015-12-26 21:36:38 +00:00
|
|
|
- 1.5
|
2016-01-13 21:25:16 +00:00
|
|
|
- 1.6beta1
|
2015-02-01 14:02:52 +00:00
|
|
|
- tip
|
|
|
|
|
2016-01-04 18:29:12 +00:00
|
|
|
sudo: false
|
|
|
|
|
2015-12-26 21:36:38 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO15VENDOREXPERIMENT=1
|
|
|
|
|
2015-02-01 14:02:52 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
|
|
|
|
before_install:
|
2016-01-04 18:21:58 +00:00
|
|
|
- go get ./...
|
2015-02-01 14:02:52 +00:00
|
|
|
|
|
|
|
script:
|
2016-01-04 18:35:43 +00:00
|
|
|
- go test ./...
|
2015-08-19 16:08:15 +00:00
|
|
|
|
|
|
|
before_deploy:
|
2016-01-13 21:25:55 +00:00
|
|
|
- export GOROOT_BOOTSTRAP=$GOROOT
|
2015-08-19 16:08:15 +00:00
|
|
|
- go get github.com/laher/goxc
|
2015-08-19 16:24:20 +00:00
|
|
|
- goxc -t -bc="linux darwin windows"
|
2015-08-19 16:08:15 +00:00
|
|
|
- goxc -d=./ -wd=./cmd/tusd -bc="linux darwin windows"
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: dV3wr9ebEps3YrzIoqmkYc7fw0IECz7QLPRENPSxTJyd5TTYXGsnTS26cMe2LdGwYrXw0njt2GGovMyBZFTtxyYI3mMO4AZRwvZfx/yGzPWJBbVi6NjZVRg/bpyK+mQJ5BUlkPAYJmRpdc6qD+nvCGakBOxoByC5XDK+yM+bKFs=
|
|
|
|
file:
|
|
|
|
- snapshot/tusd_darwin_386.zip
|
|
|
|
- snapshot/tusd_darwin_amd64.zip
|
|
|
|
- snapshot/tusd_linux_386.tar.gz
|
|
|
|
- snapshot/tusd_linux_amd64.tar.gz
|
|
|
|
- snapshot/tusd_linux_arm.tar.gz
|
|
|
|
- snapshot/tusd_snapshot_amd64.deb
|
|
|
|
- snapshot/tusd_snapshot_armhf.deb
|
|
|
|
- snapshot/tusd_snapshot_i386.deb
|
|
|
|
- snapshot/tusd_windows_386.zip
|
|
|
|
- snapshot/tusd_windows_amd64.zip
|
|
|
|
skip_cleanup: true
|
|
|
|
|
|
|
|
on:
|
|
|
|
tags: true
|
2016-01-13 21:25:55 +00:00
|
|
|
go: 1.5
|
2015-08-19 16:08:15 +00:00
|
|
|
repo: tus/tusd
|