-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added travis autobuild and autorelease config
- Loading branch information
1 parent
5ae3281
commit 285cf12
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,25 @@ | ||
language: go | ||
|
||
go: | ||
- tip | ||
|
||
env: | ||
GO15VENDOREXPERIMENT=1 | ||
global: | ||
- VERSION=0.1.0 | ||
before_script: | ||
- go get | ||
script: | ||
- go test | ||
before_deploy: | ||
- mkdir -p release | ||
- "GOOS=linux GOARCH=amd64 go build -o release/uabot-v$VERSION-linux-amd64" | ||
- "GOOS=darwin GOARCH=amd64 go build -o release/uabot-v$VERSION-darwin-amd64" | ||
- "GOOS=windows GOARCH=amd64 go build -o release/uabot-v$VERSION-windows-amd64" | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: C1KHbTxSLzYod8Nv84FtEYLK7xaYlAlFh9OBvCdBUYykQqc9zNZuyjYMLGDtq78Vb5nqrySudIMyQp5x0SU0mNWs5UUvrDRrxcO+FMyY/b3P0StDJU7t2FRm/rD3coBWzUDsZ1TYcAbwZLoklhsZJZI0higZ0/wjQW/+BZZRGNz5s/CEd7sfbSdD2waiH0luc1waydCoXJJvpXLMTYIaNB2m0YOlxcFGlwAP3OmaLcGLnxW3WMNuNhv456LN3Nv1FBzNDGtA8DvKMuq5XQt9OgXC5Lbl+x5s7dUWQnsWOYuko3UV8oN9HWSl5kp92EwVN70kWOx4yUk2XmDX8x1p40U/W1RJhynmPw0vdG/kr7PF0QPYEAtwXl3EUT0WQ36bJzXTbVmt7ZL+uqO9EsCnOq+Yk83z6UGuyzrS1rFWU+0dOfJ6rRyC4AQjIvSyc2X1ti78GRMgf8Km2CFDLGPl5uzEkrkFlQ8o6fCbMQO/muWjb3tT14IaRUTjHc90z4OW5BVE8as5hyyFvdGfDRQZ04VwH1SJpjRJ2MfVxu+BzyVH+kE6lVLGRy2iDXyWgOpslfsoNWw0KaLH1r1+pqNGh6p++IE5W1ebnaAIudWsJhJ324vkTEX9yaFwhyk5o5lQC4CZPGwu8dLBrkQpDW5pq08Z/Luap8jHqJTgdIUqry4= | ||
file_glob: true | ||
file: | ||
release/* | ||
skip_cleanup: true | ||
on: | ||
tags: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.1.0 |