switch to github actions

This commit is contained in:
aler9
2020-12-04 22:39:10 +01:00
parent ccdef79959
commit c15472eaf2
3 changed files with 26 additions and 19 deletions

25
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.13", "1.14", "1.15"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- run: make test-nodocker

View File

@@ -1,18 +0,0 @@
language: go
go:
- "1.13.x"
- "1.14.x"
- "1.15.x"
services:
- docker
env:
- GO111MODULE=on
before_install:
- go mod download
script:
- make test-nodocker

View File

@@ -1,7 +1,7 @@
# gortsplib
[![Build Status](https://travis-ci.com/aler9/gortsplib.svg?branch=master)](https://travis-ci.com/aler9/gortsplib)
[![Test](https://github.com/aler9/gortsplib/workflows/test/badge.svg)](https://github.com/aler9/gortsplib/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/aler9/gortsplib)](https://goreportcard.com/report/github.com/aler9/gortsplib)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/aler9/gortsplib)](https://pkg.go.dev/github.com/aler9/gortsplib)