-
Erick Hitter authored
Fixes #7
Erick Hitter authoredFixes #7
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 918 B
image: golang:latest
cache:
paths:
- /apt-cache
- /go/src/github.com
- /go/src/golang.org
- /go/src/google.golang.org
- /go/src/gopkg.in
- /go/src/git.ethitter.com
stages:
- test
- build
before_script:
- mkdir -p /go/src/git.ethitter.com/debian /go/src/_/builds
- cp -r $CI_PROJECT_DIR /go/src/git.ethitter.com/debian/eth-log-alerting
- ln -s /go/src/git.ethitter.com/debian /go/src/_/builds/debian
- make dep
unit_tests:
stage: test
script:
- make test
race_detector:
stage: test
script:
- make race
memory_sanitizer:
stage: test
script:
- make msan
code_coverage:
stage: test
script:
- make coverage
code_coverage_report:
stage: test
script:
- make coverhtml
only:
- master
lint_code:
stage: test
script:
- make lint
build:
stage: build
script:
- make
artifacts:
paths:
- eth-log-alerting-builds/