From 0a8fce39ae8904df384b2129e16db52a150f4df8 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Fri, 22 Jan 2016 17:29:19 +0100 Subject: [PATCH] Add a simple travis yaml Signed-off-by: Vincent Demeester --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..022d6cab --- /dev/null +++ b/.travis.yml @@ -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 .