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