From e72b09adbbec3368a948eb8fc62a732004c59fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Thu, 28 Mar 2024 01:35:07 +0100 Subject: [PATCH] Remove Travis-CI ; add Codecov badge in README --- .travis.yml | 46 ---------------------------------------------- README.md | 2 +- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7f169ca..0000000 --- a/.travis.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -language: go -go: -- 1.14.x -- tip -- 1.13.x -- 1.12.x -- 1.11.x -- 1.10.x -- 1.9.x -- 1.8.x -- 1.7.x -# "go build" crashes on recent OS X: https://github.com/travis-ci/gimme/issues/182 -#- 1.6.x -#- 1.5.x -#- 1.4.x -sudo: false - -os: -- linux -- osx - -env: - global: - - GO111MODULE=on - - -# Allow to test forks properly -go_import_path: github.com/dolmen-go/codegen - -before_install: -# List Go versions installable from Travis -- gimme --known -- GO111MODULE=off go list - -install: -# Fetch dependencies: -# - go < 1.11: go get -t -v ./... -# - go >= 1.11: go list -test -mod=readonly -- "case \"$(go version)\" in (*' go1.'[02-9]*|*' go1.10.'*) go get -t -v ./... ;; (*) go list -test -mod=readonly ;; esac" - -script: -- go test -v -coverprofile=coverage.txt -covermode=atomic - -after_success: -- bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index d3a0a49..4fded63 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # codegen - Utilities for Go code generators [![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/dolmen-go/codegen) -[![Travis-CI](https://img.shields.io/travis/dolmen-go/jsonptr.svg)](https://travis-ci.org/dolmen-go/codegen) +[![Codecov](https://codecov.io/gh/dolmen-go/codegen/graph/badge.svg?token=y7mxhgwKi7)](https://codecov.io/gh/dolmen-go/codegen) [![Go Report Card](https://goreportcard.com/badge/github.com/dolmen-go/jsonptr)](https://goreportcard.com/report/github.com/dolmen-go/codegen)