Skip to content

Commit

Permalink
Replace travis with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelometal committed Nov 6, 2023
1 parent 6a7e7b6 commit b564262
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 31 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: unittests

on:
push:
pull_request:
types: [opened, reopened]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19.x','1.20.x', '1.21.x']
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: tests
run: |
go install github.com/axw/gocov/gocov@latest
go install github.com/mattn/goveralls@latest
if ! go install github.com/golang/tools/cmd/cover@latest; then go install golang.org/x/tools/cmd/cover@latest; fi
go test -v -covermode=count -coverprofile=coverage.out
11 changes: 0 additions & 11 deletions .travis.sh

This file was deleted.

19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
gothumbor
=========

[![GoDoc](https://godoc.org/github.com/globocom/gothumbor?status.svg)](https://godoc.org/github.com/globocom/gothumbor) [![Build Status](https://travis-ci.org/globocom/gothumbor.svg?branch=master)](https://travis-ci.org/globocom/gothumbor) [![Coverage Status](https://coveralls.io/repos/globocom/gothumbor/badge.svg?branch=master&service=github)](https://coveralls.io/github/globocom/gothumbor?branch=master)
[![GoDoc](https://godoc.org/github.com/globocom/gothumbor?status.svg)](https://godoc.org/github.com/globocom/gothumbor)

gothumbor allows easy usage of [Thumbor] in Go.

Expand Down

0 comments on commit b564262

Please sign in to comment.