From 3e3c2d0dc4691bcbfba87071c3f2d5214333899d Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Sun, 22 Apr 2018 01:06:48 -0700 Subject: [PATCH] add travis --- .travis.yml | 9 +++++++++ Makefile | 2 +- README.md | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1a5f7a1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: go + +go: + - "1.9.x" + - "1.10.x" + - "master" + +script: + - make test diff --git a/Makefile b/Makefile index 02d7f6c..10b2bf7 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,4 @@ all: @echo "no default" test: - go test -v coinmarketcap.go coinmarketcap_test.go types.go + go test -v diff --git a/README.md b/README.md index d367570..e695ad4 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > The Unofficial [CoinMarketCap](https://coinmarketcap.com/) API client for Go. -[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/miguelmota/go-coinmarketcap/master/LICENSE.md) [![Go Report Card](https://goreportcard.com/badge/github.com/miguelmota/go-coinmarketcap?)](https://goreportcard.com/report/github.com/miguelmota/go-coinmarketcap) [![GoDoc](https://godoc.org/github.com/miguelmota/go-coinmarketcap?status.svg)](https://godoc.org/github.com/miguelmota/go-coinmarketcap) +[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/miguelmota/go-coinmarketcap/master/LICENSE.md) [![Build Status](https://travis-ci.org/miguelmota/go-coinmarketcap.svg?branch=master)](https://travis-ci.org/miguelmota/go-coinmarketcap) [![Go Report Card](https://goreportcard.com/badge/github.com/miguelmota/go-coinmarketcap?)](https://goreportcard.com/report/github.com/miguelmota/go-coinmarketcap) [![GoDoc](https://godoc.org/github.com/miguelmota/go-coinmarketcap?status.svg)](https://godoc.org/github.com/miguelmota/go-coinmarketcap) ## Documentation