Skip to content

Commit

Permalink
Replace github-ce pipeline with travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno M V Souza committed Dec 23, 2019
1 parent a7320f9 commit fbf37f5
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 53 deletions.
51 changes: 0 additions & 51 deletions .gitlab-ci.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .travis.yml
@@ -0,0 +1,33 @@
language : go
dist: xenial

env:
- GO111MODULE=on

os:
- linux

go:
- 1.x

go_import_path: go.bmvs.io/ynab

sudo: false

before_install:
- sudo apt update
- sudo apt install clang-4.0 -y

script:
- make lint
- make test
- make race
- make msan

after_success:
- make goveralls

notifications:
email:
on_success: change
on_failure: always
5 changes: 5 additions & 0 deletions Makefile
Expand Up @@ -28,6 +28,11 @@ coverage: ## Generate global code coverage report
coverhtml: ## Generate global code coverage report in HTML
./coverage.sh html;

goveralls:
@go get golang.org/x/tools/cmd/cover
@go get github.com/mattn/goveralls
@goveralls -service=travis-ci

dep: ## Get the dependencies
@go get -v -d ./...

Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,6 @@
# YNAB API Go Library

[![Pipeline status](https://lab.bmvs.io/bs/ynab.go/badges/master/pipeline.svg)](https://lab.bmvs.io/bs/ynab.go/commits/master) [![Pipeline status](https://ci.appveyor.com/api/projects/status/0m2n0q97usi79q27/branch/master?svg=true)](https://ci.appveyor.com/project/brunomvsouza/ynab-go-y5fjk/branch/master) [![Coverage report](https://lab.bmvs.io/bs/ynab.go/badges/master/coverage.svg)](https://lab.bmvs.io/bs/ynab.go/commits/master) [![Go Report Card](https://goreportcard.com/badge/lab.bmvs.io/bs/ynab.go)](https://goreportcard.com/report/lab.bmvs.io/bs/ynab.go) [![GoDoc Reference](https://godoc.org/go.bmvs.io/ynab?status.svg)](https://godoc.org/go.bmvs.io/ynab)
[![Build Status](https://travis-ci.com/brunomvsouza/ynab.go.svg?branch=master)](https://travis-ci.com/brunomvsouza/ynab.go) [![Build Status](https://ci.appveyor.com/api/projects/status/0m2n0q97usi79q27/branch/master?svg=true)](https://ci.appveyor.com/project/brunomvsouza/ynab-go-y5fjk/branch/master) [![Coverage Status](https://coveralls.io/repos/github/brunomvsouza/ynab.go/badge.svg?branch=master)](https://coveralls.io/github/brunomvsouza/ynab.go?branch=master) [![Go Report Card](https://goreportcard.com/badge/lab.bmvs.io/bs/ynab.go)](https://goreportcard.com/report/lab.bmvs.io/bs/ynab.go) [![GoDoc Reference](https://godoc.org/go.bmvs.io/ynab?status.svg)](https://godoc.org/go.bmvs.io/ynab)

This is an UNOFFICIAL Go client for the YNAB API. It covers 100% of the resources made available by the [YNAB API](https://api.youneedabudget.com).

Expand Down Expand Up @@ -31,7 +31,7 @@ func main() {
if err != nil {
panic(err)
}

for _, budget := range budgets {
fmt.Println(budget.Name)
// ...
Expand Down

0 comments on commit fbf37f5

Please sign in to comment.