remove travis and add GitHub workflow
This commit is contained in:
parent
9ad0ec237f
commit
2065fa60ee
3 changed files with 2 additions and 21 deletions
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
|
@ -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:
|
||||
|
|
17
.travis.yml
17
.travis.yml
|
@ -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
|
|
@ -3,7 +3,7 @@
|
|||
<div>
|
||||
|
||||
[](https://godoc.org/github.com/steambap/captcha)
|
||||
[](https://travis-ci.org/steambap/captcha)
|
||||
[](https://github.com/steambap/captcha/actions?workflow=CI)
|
||||
[](https://codecov.io/gh/steambap/captcha)
|
||||
[](https://goreportcard.com/report/github.com/steambap/captcha)
|
||||
|
||||
|
|
Reference in a new issue