From 7c735cfa47853c88a53753173ccf56e364295f27 Mon Sep 17 00:00:00 2001 From: Alexandre Garand Date: Thu, 4 Jul 2019 14:34:42 +0200 Subject: add travis, go.mod and vendor/ in order to have automatic testing --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8054364 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +dist: trusty +sudo: required +services: +- docker +language: go +go: + - "1.12.x" + +install: +# This script is used by the Travis build to install a cookie for +# go.googlesource.com so rate limits are higher when using `go get` to fetch +# packages that live there. +# See: https://github.com/golang/go/issues/12933 +- bash scripts/gogetcookie.sh + +script: +- make test +- make vet +- make website-test + +matrix: + fast_finish: true + allow_failures: + - go: tip +env: + GO111MODULE=on -- cgit v1.2.3