27 lines
636 B
YAML
27 lines
636 B
YAML
box:
|
|
id: golang
|
|
ports:
|
|
- "5000"
|
|
|
|
build:
|
|
steps:
|
|
- script:
|
|
name: golint-prepare
|
|
code: |
|
|
go get github.com/golang/lint/golint
|
|
go install github.com/golang/lint/golint
|
|
|
|
- script:
|
|
name: symlinking src code
|
|
code: |
|
|
mkdir -p $GOPATH/src/github.com/oracle
|
|
ln -s $WERCKER_SOURCE_DIR $GOPATH/src/github.com/oracle/oci-go-sdk
|
|
ls -al $GOPATH/src/github.com/oracle/oci-go-sdk
|
|
|
|
- script:
|
|
name: make-build
|
|
code: |
|
|
make build
|
|
|
|
|