1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 01:32:19 +00:00
ghostream/.gitlab-ci.yml

21 lines
493 B
YAML
Raw Normal View History

stages:
- test
- quality-assurance
unit_tests:
image: golang:1.15-alpine
stage: test
before_script:
2020-09-29 12:22:56 +00:00
- apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libsrt-dev
script:
- go test -v -covermode=count -coverprofile cover.cov ./...
- go tool cover -func=cover.cov
linters:
image: golang:1.15-alpine
stage: quality-assurance
script:
- go get -u golang.org/x/lint/golint
- golint -min_confidence 0.3 -set_exit_status ./...
allow_failure: true