First attempt at adding a CI.

This commit is contained in:
Renan DelValle 2018-11-03 11:01:32 -07:00
parent 66c2e147e2
commit fba48e1d4d
No known key found for this signature in database
GPG key ID: 3895800E03F17676

18
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,18 @@
image: golang:1.11
cache:
paths:
- /apt-cache
- /go/src/github.com
- /go/src/golang.org
- /go/src/google.golang.org
- /go/src/gopkg.in
before_script:
- mkdir -p /go/src/gitlab.com/spdf /go/src/_/builds
- cp -r $CI_PROJECT_DIR /go/src/gitlab.com/spdf/elektron
- ln -s /go/src/gitlab.com/spdf /go/src/_/builds/elektron
build:
script:
- go build -o elektron /go/src/gitlab.com/spdf/elektron