2018-06-20 21:15:58 -05:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
# Source Config
|
|
|
|
|
2018-06-22 20:00:23 -05:00
|
|
|
clone_folder: c:\gopath\src\github.com\maxcnunes\gaper
|
2018-06-20 21:15:58 -05:00
|
|
|
|
|
|
|
# Build host
|
|
|
|
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
|
|
|
GOBIN: c:\gopath\bin
|
|
|
|
|
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
|
|
# Build
|
|
|
|
|
|
|
|
install:
|
|
|
|
- set Path=c:\go\bin;c:\gopath\bin;%Path%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
- go get -u github.com/golang/dep/cmd/dep
|
|
|
|
- choco install make
|
|
|
|
- make setup
|
|
|
|
|
|
|
|
build: false
|
|
|
|
deploy: false
|
|
|
|
|
|
|
|
test_script:
|
2018-06-22 20:00:23 -05:00
|
|
|
- go build github.com/maxcnunes/gaper/cmd/gaper
|
2018-06-20 21:15:58 -05:00
|
|
|
- make test
|