From 411253149c4195a230599bcfef02f98b29a517ab Mon Sep 17 00:00:00 2001 From: Peltoche Date: Mon, 1 Oct 2018 14:23:05 +0200 Subject: [PATCH] Add a .travis.yml fo --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8c811d7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +after_success: + - bash <(curl -s https://codecov.io/bash) +go: + - '1.9' + - 1.10.x + - 1.11.x +install: + - go get -u github.com/axw/gocov/gocov + - go get -u gopkg.in/matm/v1/gocov-html + - go get -u github.com/cee-dub/go-junit-report + - go get -u github.com/stretchr/testify/assert + - go get -u github.com/kr/pretty + - go get -u gopkg.in/yaml.v2 + - go get -u github.com/go-openapi/spec + - go get -u github.com/go-openapi/analysis + - go get -u github.com/go-openapi/errors + - go get -u github.com/go-openapi/loads + - go get -u github.com/go-openapi/strfmt + - go get -u github.com/go-openapi/runtime + - go get -u github.com/docker/go-units +language: go +script: + - go test -v -timeout=1m -race -covermode=atomic ./... + - go test -v -timeout=1m -cover -coverprofile=coverage.out ./... + - go test -v -timeout=1m ./...