Merge pull request #1 from strukturag/ci-integration

CI: Add Travis integration
This commit is contained in:
Joachim Bauch 2020-05-12 10:24:01 +02:00 committed by GitHub
commit c48581b22b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 3 deletions

27
.travis.yml Normal file
View 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

View file

@ -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 \

View file

@ -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).