Migrate to GitLab

This commit is contained in:
Trevor Slocum 2020-01-22 17:05:27 -08:00
parent 349e30c974
commit 46712e512c
5 changed files with 20 additions and 45 deletions

View File

@ -1,21 +0,0 @@
arch: amd64
environment:
PROJECT_DIR: '~/go/src/git.sr.ht/~tslocum'
PROJECT_NAME: 'desktop'
CGO_ENABLED: '0'
GO111MODULE: 'on'
image: freebsd/latest
packages:
- go
sources:
- https://git.sr.ht/~tslocum/desktop
tasks:
- setup: |
mkdir -p $PROJECT_DIR
mv $PROJECT_NAME $PROJECT_DIR/$PROJECT_NAME
- deps: |
cd $PROJECT_DIR/$PROJECT_NAME
go mod download
- test: |
cd $PROJECT_DIR/$PROJECT_NAME
go test ./...

View File

@ -1,21 +0,0 @@
arch: x86_64
environment:
PROJECT_DIR: '~/go/src/git.sr.ht/~tslocum'
PROJECT_NAME: 'desktop'
CGO_ENABLED: '0'
GO111MODULE: 'on'
image: alpine/edge
packages:
- go
sources:
- https://git.sr.ht/~tslocum/desktop
tasks:
- setup: |
mkdir -p $PROJECT_DIR
mv $PROJECT_NAME $PROJECT_DIR/$PROJECT_NAME
- deps: |
cd $PROJECT_DIR/$PROJECT_NAME
go mod download
- test: |
cd $PROJECT_DIR/$PROJECT_NAME
go test ./...

8
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,8 @@
stages:
- test
test:
image: golang:latest
stage: test
script:
- go test -v ./...

View File

@ -1,8 +1,17 @@
# desktop
[![GoDoc](https://godoc.org/git.sr.ht/~tslocum/desktop?status.svg)](https://godoc.org/git.sr.ht/~tslocum/desktop)
[![builds.sr.ht status](https://builds.sr.ht/~tslocum/desktop.svg)](https://builds.sr.ht/~tslocum/desktop)
[![GoDoc](https://godoc.org/gitlab.com/tslocum/desktop?status.svg)](https://godoc.org/gitlab.com/tslocum/desktop)
[![CI status](https://gitlab.com/tslocum/desktop/badges/master/pipeline.svg)](https://gitlab.com/tslocum/desktop/commits/master)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Desktop entry scanner and parser
Linux is currently the only supported operating system. Windows support is planned.
## Documentation
Documentation is available via [gdooc](https://godoc.org/gitlab.com/tslocum/desktop).
## Support
Please share issues/suggestions [here](https://gitlab.com/tslocum/desktop/issues).

2
go.mod
View File

@ -1,4 +1,4 @@
module git.sr.ht/~tslocum/desktop
module gitlab.com/tslocum/desktop
go 1.12