add releasing configs

This commit is contained in:
Chris Lu
2017-01-03 21:14:46 -08:00
parent f7ff98c747
commit 2d13382c68
3 changed files with 73 additions and 7 deletions

View File

@@ -1,15 +1,30 @@
sudo: false
language: go
go:
- 1.5
- 1.6
- tip
- 1.5
- 1.6
- tip
before_install:
- export PATH=/home/travis/gopath/bin:$PATH
- export PATH=/home/travis/gopath/bin:$PATH
install:
- go get ./weed/...
- go get ./weed/...
script:
- go test ./weed/...
- go test ./weed/...
deploy:
provider: releases
api_key:
secure: ERL986+ncQ8lwAJUYDrQ8s2/FxF/cyNIwJIFCqspnWxQgGNNyokET9HapmlPSxjpFRF0q6L2WCg9OY3mSVRq4oI6hg1igOQ12KlLyN71XSJ3c8w0Ay5ho48TQ9l3f3Iu97mntBCe9l0R9pnT8wj1VI8YJxloXwUMG2yeTjA9aBI=
file:
- build/linux_arm.tar.gz
- build/linux_arm64.tar.gz
- build/linux_386.tar.gz
- build/linux_amd64.tar.gz
- build/darwin_amd64.tar.gz
- build/windows_386.zip
- build/windows_amd64.zip
on:
repo: chrislusf/seaweedfs