mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-25 00:06:46 +00:00
8ab80e8 Merge pull request #45 from weaveworks/lint 83d5bd1 getting integration/config and test shellcheck-compliant cff9ec3 Fix some shellcheck errors 7a843d6 run shellcheck as part of lint if it is installed 31552a0 removing spurious space from test 6ca7c5f Merge pull request #44 from weaveworks/shfmt 952356d Allow lint to lint itself b7ac59c Run shfmt on all shell files in this repo 5570b0e Add shfmt formatting of shell files in lint 0a67594 fix circle build by splatting gopath permissions git-subtree-dir: tools git-subtree-split: 8ab80e878b0e414fb0a4c0b7c97d665b32dfc463
31 lines
692 B
YAML
31 lines
692 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
|
|
- |
|
|
go get \
|
|
github.com/fzipp/gocyclo \
|
|
github.com/golang/lint/golint \
|
|
github.com/kisielk/errcheck \
|
|
github.com/mvdan/sh/cmd/shfmt
|
|
|
|
test:
|
|
override:
|
|
- cd $SRCDIR; ./lint .
|
|
- cd $SRCDIR/cover; make
|
|
- cd $SRCDIR/socks; make
|
|
- cd $SRCDIR/runner; make
|
|
- cd $SRCDIR/cmd/wcloud; make
|
|
|