Add a simple travis yaml

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2016-01-22 17:29:19 +01:00
parent 30b1077a25
commit 0a8fce39ae

19
.travis.yml Normal file
View File

@@ -0,0 +1,19 @@
---
language: go
sudo: false
notifications:
email: false
env:
global:
- GO15VENDOREXPERIMENT=1
go:
- 1.5
- tip
install:
- go get github.com/golang/lint/golint
script:
- go vet .
- test -z "$(golint . | tee /dev/stderr)"
- test -z "$(gofmt -s -l . | tee /dev/stderr)"
- go build -o skopeo .
- go test -v .