From 4228e2ad377e71814a9d98a8075cf1b85b15d05b Mon Sep 17 00:00:00 2001 From: mstefaniak Date: Tue, 18 Aug 2020 21:37:45 +0200 Subject: [PATCH] Ref equinix/terraform-provider-equinix#6 Integrate Travis CI * added travis file * updated README file with badges --- .travis.yml | 9 +++++++++ README.md | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f188e2a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: go + +sudo: false + +go: + - 1.14.x + +script: + - make test diff --git a/README.md b/README.md index 65a2998..bebecd2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,12 @@ Equinix oAuth2 Go client Go implementation of oAuth2 enabbled HTTP client for interactions with Equinix APIs. Module implementes Equinix specific client credentials grant type with custom `TokenSource` from standard Go oauth2 module. -* Contact us : https://developer.equinix.com/contact-us +[![Build Status](https://travis-ci.com/equinix/oauth2-go.svg?branch=master)](https://travis-ci.com/github/equinix/oauth2-go) +[![Go Report Card](https://goreportcard.com/badge/github.com/equinix/oauth2-go)](https://goreportcard.com/report/github.com/equinix/oauth2-go) +[![GoDoc](https://godoc.org/github.com/equinix/oauth2-go?status.svg)](https://godoc.org/github.com/equinix/oauth2-go) +![GitHub](https://img.shields.io/github/license/equinix/oauth2-go) + +--- Requirements ----------------