mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-15 20:25:12 +02:00
Merge pull request #1 from strukturag/ci-integration
CI: Add Travis integration
This commit is contained in:
commit
c48581b22b
27
.travis.yml
Normal file
27
.travis.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
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
|
||||
|
||||
script:
|
||||
- make client
|
||||
- make server
|
||||
- travis_retry make test
|
||||
- travis_retry make cover
|
6
Makefile
6
Makefile
|
@ -37,11 +37,11 @@ hook:
|
|||
godeps:
|
||||
GOPATH=$(GOPATH) $(GO) get github.com/rogpeppe/godeps
|
||||
|
||||
easyjson:
|
||||
easyjson: dependencies
|
||||
GOPATH=$(GOPATH) $(GO) get -d github.com/mailru/easyjson/...
|
||||
GOPATH=$(GOPATH) $(GO) build -o ./vendor/bin/easyjson ./vendor/src/github.com/mailru/easyjson/easyjson/main.go
|
||||
|
||||
dependencies: hook godeps easyjson src/signaling/continentmap.go
|
||||
dependencies: hook godeps src/signaling/continentmap.go
|
||||
GOPATH=$(GOPATH) ./vendor/bin/godeps -u dependencies.tsv
|
||||
|
||||
dependencies.tsv: godeps
|
||||
|
@ -82,7 +82,7 @@ coverhtml: dependencies vet common
|
|||
%_easyjson.go: %.go
|
||||
PATH=$(shell dirname $(GO)):$(PATH) GOPATH=$(GOPATH) ./vendor/bin/easyjson -all $*.go
|
||||
|
||||
common: \
|
||||
common: easyjson \
|
||||
src/signaling/api_signaling_easyjson.go \
|
||||
src/signaling/api_backend_easyjson.go \
|
||||
src/signaling/natsclient_easyjson.go \
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# 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)
|
||||
|
||||
This repository contains the standalone signaling server which can be used for
|
||||
Nextcloud Talk (https://apps.nextcloud.com/apps/spreed).
|
||||
|
||||
|
|
Loading…
Reference in a new issue