Update CI script
This commit is contained in:
parent
2ff5ef34a5
commit
d82dfef5f7
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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…
Reference in New Issue