Commit 7af71412 authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

Add CI

parent 7e5474d0
Pipeline #10 passed with stage
stages:
- test
job_tests:
stage: test
tags:
- golang
- mongo # Require an available mongo service
- strong # Disable this build on small runners
services:
- "lesterpig/mongo:latest" # Use this light version of mongo
script: "go test -cover -v ./..."
job_lint:
stage: test
allow_failure: True
tags:
- golang
- lint
script:
- "go get github.com/alecthomas/gometalinter"
- "gometalinter --install"
- "gometalinter -t --deadline=60s ./..."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment