mirror of
https://github.com/aler9/gortsplib
synced 2025-10-23 15:13:30 +08:00
switch to github actions
This commit is contained in:
25
.github/workflows/test.yml
vendored
Normal file
25
.github/workflows/test.yml
vendored
Normal 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
|
18
.travis.yml
18
.travis.yml
@@ -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
|
|
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
# gortsplib
|
# gortsplib
|
||||||
|
|
||||||
[](https://travis-ci.com/aler9/gortsplib)
|
[](https://github.com/aler9/gortsplib/actions)
|
||||||
[](https://goreportcard.com/report/github.com/aler9/gortsplib)
|
[](https://goreportcard.com/report/github.com/aler9/gortsplib)
|
||||||
[](https://pkg.go.dev/github.com/aler9/gortsplib)
|
[](https://pkg.go.dev/github.com/aler9/gortsplib)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user