Created
February 2, 2017 05:46
-
-
Save Leopere/81ed7664cf5aef3da1a7e79e3f1b9b10 to your computer and use it in GitHub Desktop.
GoLang gitlab-ci for discord-cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compile-go-1.8-alpine: | |
image: golang:1.8-alpine | |
stage: build | |
script: | |
- apk update && apk add git -y | |
- pwd | |
- ls -lAh | |
- mkdir -pv /go/src/github.com/Rivalo/discord-cli | |
- cp -Rv ./* /go/src/github.com/Rivalo/discord-cli | |
- cd /go/src/github.com/Rivalo/discord-cli | |
- pwd | |
- go get -v . | |
- ls -lAh | |
- go build main.go | |
artifacts: | |
paths: | |
- /go/bin/discord-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment