diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3fa26e4..31286d3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,12 +1,10 @@ -name: Go +name: CI on: [push, pull_request] jobs: - build: name: Build runs-on: ubuntu-latest steps: - - name: Set up Go 1.13 uses: actions/setup-go@v1 with: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f714c87..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: go - -go: - - 1.8.x - - 1.10.x - - 1.12.x - - 1.13.x - -script: - - go test -race -coverprofile=coverage.txt -covermode=atomic - -after_success: - - bash <(curl -s https://codecov.io/bash) - -notifications: - email: - on_success: never \ No newline at end of file diff --git a/README.md b/README.md index bb8f35e..627964f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@
[![GoDoc](https://godoc.org/github.com/steambap/captcha?status.svg)](https://godoc.org/github.com/steambap/captcha) -[![Build Status](https://travis-ci.org/steambap/captcha.svg)](https://travis-ci.org/steambap/captcha) +[![Build Status](https://github.com/steambap/captcha/workflows/CI/badge.svg)](https://github.com/steambap/captcha/actions?workflow=CI) [![codecov](https://codecov.io/gh/steambap/captcha/branch/master/graph/badge.svg)](https://codecov.io/gh/steambap/captcha) [![Go Report Card](https://goreportcard.com/badge/github.com/steambap/captcha)](https://goreportcard.com/report/github.com/steambap/captcha)