Setup CI
This commit is contained in:
parent
e5b0395fb7
commit
6e6c4dc7b4
19
.circleci/config.yml
Normal file
19
.circleci/config.yml
Normal file
@ -0,0 +1,19 @@
|
||||
# Golang CircleCI 2.0 configuration file
|
||||
#
|
||||
# Check https://circleci.com/docs/2.0/language-go/ for more details
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/golang:1.9
|
||||
|
||||
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
# specify any bash command here prefixed with `run: `
|
||||
- run: go get -v ./cmd/panel/
|
||||
- run: go build ./cmd/panel/main.go
|
||||
|
||||
- store_artifacts:
|
||||
path: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}/main
|
Loading…
x
Reference in New Issue
Block a user