Browse Source

Update CI script

master v0.1.1
Trevor Slocum 3 years ago
parent
commit
d82dfef5f7
  1. 24
      .gitlab-ci.yml
  2. 7
      CHANGELOG
  3. 5
      README.md

24
.gitlab-ci.yml

@ -1,22 +1,24 @@
image: golang:latest
stages:
- test
- validate
- build
before_script:
- export GO111MODULE=on
- export GOPATH=$(dirname $CI_PROJECT_DIR)/go
- mkdir -p $GOPATH/src
- cd $GOPATH/src
- ln -s $CI_PROJECT_DIR
- cd $CI_PROJECT_NAME
- go mod download
fmt:
stage: validate
script:
- gofmt -l -s -e .
- exit $(gofmt -l -s -e . | wc -l)
vet:
stage: validate
script:
- go vet -composites=false ./...
test:
stage: test
stage: validate
script:
- go test
- go test -race -v ./...
build:
stage: build

7
CHANGELOG

@ -0,0 +1,7 @@
0.1.1:
- Add TimeZone preference
- Add streak reset time preference
- Allow past sessions to be edited
0.1.0:
- Initial release

5
README.md

@ -1,4 +1,7 @@
# MediNET [![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
# MediNET
[![GoDoc](https://godoc.org/gitlab.com/tslocum/medinet?status.svg)](https://godoc.org/gitlab.com/tslocum/medinet)
[![CI status](https://gitlab.com/tslocum/medinet/badges/master/pipeline.svg)](https://gitlab.com/tslocum/medinet/commits/master)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Session repository and community portal for [Meditation Assistant](https://gitlab.com/tslocum/meditationassistant)

Loading…
Cancel
Save