mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-10 09:52:12 +02:00
CI: Switch to GitHub Actions.
This commit is contained in:
parent
3d2bcce9bf
commit
13def3d2dc
15
.github/workflows/check-continentmap.yml
vendored
Normal file
15
.github/workflows/check-continentmap.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: check-continentmap
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 2 * * SUN"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Check continentmap
|
||||||
|
run: make check-continentmap
|
52
.github/workflows/test.yml
vendored
Normal file
52
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
name: test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
go:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
go-version:
|
||||||
|
- "1.6"
|
||||||
|
- "1.7"
|
||||||
|
- "1.8"
|
||||||
|
- "1.9"
|
||||||
|
- "1.10"
|
||||||
|
- "1.11"
|
||||||
|
- "1.12"
|
||||||
|
- "1.13"
|
||||||
|
- "1.14"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: vendor/
|
||||||
|
key: vendor-${{ matrix.go-version }}-${{ hashFiles('**/dependencies.tsv') }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
make godeps
|
||||||
|
make dependencies
|
||||||
|
|
||||||
|
- name: Build applications
|
||||||
|
run: |
|
||||||
|
make client
|
||||||
|
make server
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: |
|
||||||
|
make test || make test
|
||||||
|
|
||||||
|
- name: Generate coverage report
|
||||||
|
run: |
|
||||||
|
make cover || make cover
|
28
.travis.yml
28
.travis.yml
|
@ -1,28 +0,0 @@
|
||||||
language: go
|
|
||||||
|
|
||||||
go:
|
|
||||||
- 1.6
|
|
||||||
- 1.7
|
|
||||||
- 1.8
|
|
||||||
- 1.9
|
|
||||||
- 1.10
|
|
||||||
- 1.11
|
|
||||||
- 1.12
|
|
||||||
- 1.13
|
|
||||||
- 1.14
|
|
||||||
- master
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- vendor/
|
|
||||||
|
|
||||||
install:
|
|
||||||
- make godeps
|
|
||||||
- make dependencies
|
|
||||||
- if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]; then make check-continentmap; fi
|
|
||||||
|
|
||||||
script:
|
|
||||||
- make client
|
|
||||||
- make server
|
|
||||||
- travis_retry make test
|
|
||||||
- travis_retry make cover
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Spreed standalone signaling server
|
# Spreed standalone signaling server
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/strukturag/nextcloud-spreed-signaling.svg?branch=master)](https://travis-ci.org/strukturag/nextcloud-spreed-signaling)
|
![Build Status](https://github.com/strukturag/nextcloud-spreed-signaling/workflows/test/badge.svg)
|
||||||
|
|
||||||
This repository contains the standalone signaling server which can be used for
|
This repository contains the standalone signaling server which can be used for
|
||||||
Nextcloud Talk (https://apps.nextcloud.com/apps/spreed).
|
Nextcloud Talk (https://apps.nextcloud.com/apps/spreed).
|
||||||
|
|
Loading…
Reference in a new issue