Commit 71925def authored by Erick Hitter's avatar Erick Hitter

Hybrid approach

parent a994ea5f
image: golang:latest
variables:
REPO_NAME: git.ethitter.com/debian/eth-log-alerting
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
- $GOPATH/src/github.com
- $GOPATH/src/golang.org
- $GOPATH/src/google.golang.org
- $GOPATH/src/gopkg.in
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
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
- make dep
unit_tests:
......
Markdown is supported
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