aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-29 13:21:34 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-29 13:52:13 +0100
commit5ee54ca55862e8d4466494020bd3f67192f2f753 (patch)
treeeb1836ffbb5a2c666cd48a5a62d88bb2eb64f427 /.travis.yml
parente158191e74d04c1081687348ed79fcbb61cd9ba5 (diff)
Run more CI checks
Re-enable go 1.5 Run `go build`, `gofmt` and `go vet` in addition to tests.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8213639..9067b6a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,16 @@
language: go
+env:
+ - GO15VENDOREXPERIMENT=1
+
go:
+ - 1.5.4
- 1.6.2
- tip
+
+sudo: false
+script:
+ - go build -v ./...
+ - go test -v ./...
+ - gofmt -d $(find -type f -name '*.go' -not -path './vendor/*')
+ - go list ./... |grep -v vendor/ |xargs go vet