Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Add travis.yml and build script
Browse files Browse the repository at this point in the history
bin/build does the following:
- compiles bin/release
- creates artifacts directory
- runs bin/release
  • Loading branch information
Dane Harrigan committed Nov 18, 2017
1 parent 5522e7d commit fd011cf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: go
script: bin/build
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: q34MHstRpLLVUeI5WOlluSRpv7kv922dc5ZxaVX37K90hjTrNoNxkzO8WEYNSsx58ik0AMhc9UwhoVS89PfSRf9rjO/ybSG6xUcf1OTjjG1LC9FDviDEsqiq9na/VydBCKoZXiwJzeE5+c9qsNJ+zUxxKXkWSDcKVZvqgY+ISPV7+PT4SlGx3OJRiWyFYzYjwza8mspOCbM4SXPzHXMvptnwfm6Lqd0R78xv8GlXcujjbjmRi8V+fI5eFyHXJs0ATBAtU8FBM07eZA2bPgVAXmWw0b922ssxZQHVgawANua2pw97gtoftsXIw1NZeCYkH7QiLJ/EcYA9fRUsJ+PnPzBZ3M5uOkfyOcl0N7+k0r8CRAEH/rAY5BOx0nHcDmFsiv5vI0Hb46zokdP9ivTTi3H5i/1PP/Goiwl+BgUi4atA29y4HL741SXyzNlplPotHdI1+AecAJIE14al1xdbRDIbJXEQJhQgafxFH43FGnpNRUxNwdHcY1+Q308A/nQ+36KJRmts4dT2xiZmCHI6X0i9uM21TL4U2vocsNktjQMXZpODvgO4olbj7DuE7Wms03+cvavru8TlQLHZm1riajqQ0RjpBSXptzvkHQCKST5n7LIr1fCGwRGW+A/6xt0lAfAKBWCiwM1btvS6T+3SpAnU7589LhlHUKEFu/PwYMo=
file_glob: true
file: artifacts/*
on:
tags: true
8 changes: 8 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -e

go test -race -v ./cmd/...
go build -o bin/release ./cmd/release/...
mkdir -p artifacts
bin/release -d docs -a artifacts

0 comments on commit fd011cf

Please sign in to comment.