Skip to content

Commit

Permalink
Updating to offical scrutinizer support
Browse files Browse the repository at this point in the history
  • Loading branch information
phayes committed Mar 22, 2018
1 parent 188ae6c commit 8333a5f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
build:
dependencies:
before:
- 'source <(curl -fsSL https://raw.githubusercontent.com/phayes/go-scrutinize/master/install-golang)'
environment:
go: go1.9.2

tests:
before:
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
override:
-
command: 'cd $PROJECTPATH && go-scrutinize'
coverage:
file: 'coverage.xml'
format: 'clover'
command: gometalinter ./... --checkstyle > result.xml
analysis:
file: 'checkstyle_report.xml'
file: 'result.xml'
format: 'general-checkstyle'

0 comments on commit 8333a5f

Please sign in to comment.