Commit 3b84b23e authored by Trevor Slocum's avatar Trevor Slocum

Migrate to GitLab

parent 32c12d62
Pipeline #111574514 passed with stage
in 1 minute and 11 seconds
arch: amd64
environment:
PROJECT_NAME: 'harmony'
CGO_ENABLED: '1'
GO111MODULE: 'on'
image: freebsd/latest
packages:
- go
sources:
- https://git.sr.ht/~tslocum/harmony
tasks:
- test: |
cd $PROJECT_NAME
go test ./...
- build-server: |
cd $PROJECT_NAME/cmd/harmony-server
go build
arch: x86_64
environment:
PROJECT_NAME: 'harmony'
CGO_ENABLED: '1'
GO111MODULE: 'on'
image: alpine/edge
packages:
- go
sources:
- https://git.sr.ht/~tslocum/harmony
tasks:
- test: |
cd $PROJECT_NAME
go test ./...
- build-server: |
cd $PROJECT_NAME/cmd/harmony-server
go build
stages:
- test
test:
image: golang:latest
stage: test
script:
- go test -v ./...
......@@ -47,7 +47,7 @@ There are two ways to install harmony-server:
Download and install the [Go compiler](https://golang.org/doc/install), then
install harmony-server with the following command:
```GO111MODULE=on go get git.sr.ht/~tslocum/harmony/...@latest```
```GO111MODULE=on go get gitlab.com/tslocum/harmony/...```
This command will also update the server when ran again.
......
# harmony
[![GoDoc](https://godoc.org/git.sr.ht/~tslocum/harmony?status.svg)](https://godoc.org/git.sr.ht/~tslocum/harmony)
[![builds.sr.ht status](https://builds.sr.ht/~tslocum/harmony.svg)](https://builds.sr.ht/~tslocum/harmony)
[![GoDoc](https://godoc.org/gitlab.com/tslocum/harmony?status.svg)](https://godoc.org/gitlab.com/tslocum/harmony)
[![CI status](https://gitlab.com/tslocum/harmony/badges/master/pipeline.svg)](https://gitlab.com/tslocum/harmony/commits/master)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Voice and text communications platform
......@@ -26,12 +26,12 @@ hosted by the server.
The server (located in cmd/harmony-server) passes voice and text communications
between clients.
See [HOSTING.md](https://man.sr.ht/~tslocum/harmony/HOSTING.md) for information
See [HOSTING.md](https://gitlab.com/tslocum/harmony/blob/master/HOSTING.md) for information
on hosting a server.
## Support
Please share suggestions/issues [here](https://todo.sr.ht/~tslocum/harmony).
Please share issues/suggestions [here](https://gitlab.com/tslocum/harmony/issues).
## Libraries
......
......@@ -9,8 +9,8 @@ import (
"path"
"strings"
"git.sr.ht/~tslocum/harmony/pkg/agent"
"git.sr.ht/~tslocum/harmony/pkg/web"
"gitlab.com/tslocum/harmony/pkg/agent"
"gitlab.com/tslocum/harmony/pkg/web"
)
var (
......
module git.sr.ht/~tslocum/harmony
module gitlab.com/tslocum/harmony
go 1.13
......
......@@ -15,7 +15,7 @@ builds:
flags:
- -tags=embed
ldflags:
- -s -w -X git.sr.ht/~tslocum/harmony/pkg/config.Version={{.Version}}
- -s -w -X gitlab.com/tslocum/harmony/pkg/config.Version={{.Version}}
goos:
# - darwin
# - freebsd
......
......@@ -6,9 +6,9 @@ import (
"sync"
"time"
"git.sr.ht/~tslocum/harmony/pkg/audio"
"github.com/gorilla/websocket"
"github.com/pion/webrtc/v2"
"gitlab.com/tslocum/harmony/pkg/audio"
)
type Client struct {
......
......@@ -12,14 +12,14 @@ import (
"sync"
"time"
"git.sr.ht/~tslocum/harmony/pkg/agent"
"git.sr.ht/~tslocum/harmony/pkg/audio"
"github.com/gorilla/mux"
"github.com/gorilla/websocket"
"github.com/pion/rtp"
"github.com/pion/webrtc/v2"
"github.com/pkg/errors"
"gitlab.com/golang-commonmark/markdown"
"gitlab.com/tslocum/harmony/pkg/agent"
"gitlab.com/tslocum/harmony/pkg/audio"
)
var peerConnectionConfig = webrtc.Configuration{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment