Skip to content

Commit 59137c3

Browse files
committed
travis ci integration.
1 parent 286e7e5 commit 59137c3

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: go
2+
3+
go:
4+
- 1.6

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export GO15VENDOREXPERIMENT:=1
33

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

@@ -19,6 +19,9 @@ release-darwin:
1919

2020
release: clean release-linux release-darwin
2121

22+
test:
23+
go test -v
24+
2225
clean:
2326
rm -f kt
2427
rm -f kt-*.txz

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Some reasons why you might be interested:
1010
* Fast start up time.
1111
* No buffering of output.
1212

13+
[![Build Status](https://travis-ci.org/fgeller/kt.svg?branch=master)](https://travis-ci.org/fgeller/kt)
14+
1315
## Usage:
1416

1517
$ kt -help

0 commit comments

Comments
 (0)