Skip to content

Commit

Permalink
Travis autobuild (#84)
Browse files Browse the repository at this point in the history
Added travis autobuild and autorelease config
  • Loading branch information
erocheleau authored Sep 22, 2017
1 parent 5ae3281 commit 285cf12
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
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
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0

0 comments on commit 285cf12

Please sign in to comment.