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

Delete .gitlab-ci.yml.orig file

parent 32d3e5ad
Pipeline #246 passed with stage
before_script:
- go version
stages:
- test
Unit 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
- "lesterpig/postfix:latest"
artifacts:
paths:
- "coverage.html"
script:
- "ln -s $(pwd) $GOPATH/src/dfss"
- "./build/deps.sh"
- "go test -coverprofile auth.part -v dfss/auth"
- "go test -coverprofile mgdb.part -v dfss/mgdb"
- "go test -coverprofile mails.part -v dfss/mails"
- "go test -coverprofile authority.part -v dfss/dfssp/authority"
- "echo 'mode: set' *part > c.out"
- "grep -h -v 'mode: set' *part >> c.out"
- "go tool cover -html=c.out -o coverage.html"
ARM tests:
stage: test
tags:
- arm
script:
- "ln -s -f $(pwd) $GOPATH/src/dfss"
- "./build/deps.sh"
- "go test -cover -short -v dfss/auth"
- "go test -cover -short -v dfss/mgdb"
- "go test -cover -short -v dfss/dfssp/authority"
Code lint:
stage: test
allow_failure: True
tags:
- golang
- lint
script:
- "ln -s $(pwd) $GOPATH/src/dfss"
- "go get github.com/alecthomas/gometalinter"
- "./build/deps.sh"
- "go install ./..."
- "gometalinter --install"
<<<<<<< HEAD
- "gometalinter -t --deadline=300s -j1 --skip=api --skip=fixtures ./..."
=======
- "gometalinter -t --deadline=100s -j1 --skip=api ./..."
>>>>>>> 725843f... Fix lint test script
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