Add a .gitlab-ci.yml
This commit is contained in:
12
.gitlab-ci.yml
Normal file
12
.gitlab-ci.yml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
build:linux:
|
||||||
|
image: golang:1.7
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- mkdir -p .gopath/src/ur.gs/
|
||||||
|
- ln -s `pwd` .gopath/src/ur.gs/lysenko
|
||||||
|
- export GOPATH=`pwd`/.gopath
|
||||||
|
- cd $GOPATH/src/ur.gs/lysenko
|
||||||
|
- go build
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- lysenko
|
Reference in New Issue
Block a user