Skip to content

Commit

Permalink
Merge pull request #1 from vania-pooh/master
Browse files Browse the repository at this point in the history
Added .travis.yml
  • Loading branch information
aandryashin authored Apr 17, 2018
2 parents 3e42787 + ffad34b commit b573b5b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
sudo: required
language: go

go:
- 1.10.x

script:
- gox -os "linux" -arch "386 amd64" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X main.buildStamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X main.gitRevision=`git describe --tags || git rev-parse HEAD` -s -w"

install:
- go get -u github.com/mitchellh/gox

deploy:
- provider: releases
api-key: $GITHUB_TOKEN
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true

0 comments on commit b573b5b

Please sign in to comment.