Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 18f2ce4

Browse files
author
Eric Crosson
committed
Add travis ci
1 parent 9a90217 commit 18f2ce4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
language: go
3+
go:
4+
- 1.1
5+
- 1.2
6+
- 1.3
7+
- 1.4
8+
- 1.5
9+
- 1.6
10+
- 1.7
11+
- 1.8
12+
- tip
13+
install:
14+
- go get ./...
15+
script:
16+
- export PATH="$PATH:$HOME/gopath/bin"
17+
- make test

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
install:
2+
go install ./...
3+
4+
test: install
5+
go test -v
6+
7+
fmt:
8+
gofmt -w *.go */**/*.go
9+
10+
tags:
11+
find ./ -name '*.go' -print0 | xargs -0 gotags > TAGS

0 commit comments

Comments
 (0)