18 lines
426 B
YAML
18 lines
426 B
YAML
machine:
|
|
environment:
|
|
GOROOT: ${HOME}/go
|
|
PATH: ${PATH}:${HOME}/go/bin
|
|
post:
|
|
- sudo rm -rf /usr/local/go
|
|
- if [ ! -e go1.6.linux-amd64.tar.gz ]; then curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz; fi
|
|
- tar -C ${HOME} -xzf go1.6.linux-amd64.tar.gz
|
|
|
|
dependencies:
|
|
override:
|
|
- make deps
|
|
cache_directories:
|
|
- ~/go1.6.linux-amd64.tar.gz
|
|
|
|
test:
|
|
override:
|
|
- make test |