Skip to content

Commit

Permalink
Merge pull request #6 from mtslzr/release/v1.1.1
Browse files Browse the repository at this point in the history
Release v1.1.1
  • Loading branch information
mtslzr authored Jun 22, 2019
2 parents c202fd4 + d06c39d commit 560a89e
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 9 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
version: 2

jobs:
build:
test:
docker:
- image: golang:1.12
steps:
- checkout
- run: make
- run: make
- run: bash <(curl -s https://codecov.io/bash)

workflows:
version: 2
test:
jobs:
- test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ vendor
# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
# Coverage
coverage.txt
*.out

# VSCode
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.1] - 2019-06-22
### Added
- Coverage via Codecov
- Badges for GoReport, GoDoc, license

## [1.1.0] - 2019-06-22
### Added
- Optional parameters for Resource calls:
Expand All @@ -26,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Resource endpoint for resource lists
- Unit tests for all endpoints

[Unreleased]: https://github.com/mtslzr/pokeapi-go/compare/v1.1.0...HEAD
[Unreleased]: https://github.com/mtslzr/pokeapi-go/compare/v1.1.1...HEAD
[1.1.1]: https://github.com/mtslzr/pokeapi-go/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/mtslzr/pokeapi-go/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/mtslzr/pokeapi-go/releases/tag/v1.0.0
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
GOCMD=go
GOMOD=${GOCMD} mod
GOTEST=${GOCMD} test

CODECOVFLAGS=-coverprofile=coverage.txt -covermode=atomic -coverpkg=./...

all: deps test

deps: tidy vend

test:
go test -v ./tests/...
${GOTEST} -v -race ${CODECOVFLAGS} ./tests/...

tidy:
go mod tidy -v
${GOMOD} tidy -v

vend:
go mod vendor -v
${GOMOD} vendor -v
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# pokeapi-go
[![CircleCI](https://circleci.com/gh/mtslzr/pokeapi-go.svg?style=svg)](https://circleci.com/gh/mtslzr/pokeapi-go)
[![Codecov](https://img.shields.io/codecov/c/github/mtslzr/pokeapi-go.svg?style=flat)](https://codecov.io/gh/mtslzr/pokeapi-go)
[![Go Report Card](https://goreportcard.com/badge/github.com/mtslzr/pokeapi-go?style=flat)](https://goreportcard.com/report/github.com/mtslzr/pokeapi-go)
[![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat)](http://godoc.org/github.com/mtslzr/pokeapi-go)
[![License](https://img.shields.io/badge/license-mit-blue.svg?style=flat)](https://raw.githubusercontent.com/mtslzr/pokeapi-go/master/LICENSE)

Wrapper for [Poke API](https://pokeapi.co), written in Go.
Wrapper for [Poke API](https://pokeapi.co), written in Go. *Uses PokeAPI v2.*

- [pokeapi-go](#pokeapi-go)
- [Documentation](#Documentation)
Expand Down Expand Up @@ -31,7 +35,7 @@ go get github.com/mtslzr/pokeapi-go
```

```go
import pokeapi "github.com/mtslzr/pokeapi-go"
import "github.com/mtslzr/pokeapi-go"
```

## Endpoints
Expand Down

0 comments on commit 560a89e

Please sign in to comment.