mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
31 lines
677 B
YAML
31 lines
677 B
YAML
machine:
|
|
services:
|
|
- docker
|
|
environment:
|
|
GOPATH: /home/ubuntu
|
|
SRCDIR: /home/ubuntu/src/github.com/weaveworks/tools
|
|
PATH: $PATH:$HOME/bin
|
|
|
|
dependencies:
|
|
post:
|
|
- sudo chmod a+wr --recursive /usr/local/go/pkg
|
|
- go clean -i net
|
|
- go install -tags netgo std
|
|
- mkdir -p $(dirname $SRCDIR)
|
|
- cp -r $(pwd)/ $SRCDIR
|
|
- |
|
|
cd $SRCDIR;
|
|
go get \
|
|
github.com/fzipp/gocyclo \
|
|
github.com/golang/lint/golint \
|
|
github.com/kisielk/errcheck \
|
|
gopkg.in/mvdan/sh.v1/cmd/shfmt
|
|
|
|
test:
|
|
override:
|
|
- cd $SRCDIR; ./lint .
|
|
- cd $SRCDIR/cover; make
|
|
- cd $SRCDIR/socks; make
|
|
- cd $SRCDIR/runner; make
|
|
|