Skip to content

Commit

Permalink
travis ci integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgeller committed Apr 23, 2016
1 parent 286e7e5 commit 59137c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: go

go:
- 1.6
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export GO15VENDOREXPERIMENT:=1

build: GOOS ?= darwin
build: GOARCH ?= amd64
build:
build: test
rm -f kt
GOOS=${GOOS} GOARCH=${GOARCH} go build -ldflags "-X main.buildTime=`date --iso-8601=s` -X main.buildVersion=`git rev-parse HEAD | cut -c-7`" .

Expand All @@ -19,6 +19,9 @@ release-darwin:

release: clean release-linux release-darwin

test:
go test -v

clean:
rm -f kt
rm -f kt-*.txz
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Some reasons why you might be interested:
* Fast start up time.
* No buffering of output.

[![Build Status](https://travis-ci.org/fgeller/kt.svg?branch=master)](https://travis-ci.org/fgeller/kt)

## Usage:

$ kt -help
Expand Down

0 comments on commit 59137c3

Please sign in to comment.