Skip to content

phayes/go-scrutinize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-scrutinize

Build Status Go Report Card

Scrutinizer-CI support for golang.

This package generates code-coverage, does static analysis, and runs tests for Scrutinizer-CI.

Getting Started

Copy and paste the yml below into your .scrutinizer.yml file to get started.

build:
    dependencies:
        before:
            - 'source <(curl -fsSL https://raw.githubusercontent.com/phayes/go-scrutinize/master/install-golang)'

    tests:
        override:
            -
                command: 'cd $PROJECTPATH && go-scrutinize'
                idle_timeout: 600
                coverage:
                    file: 'coverage.xml'
                    format: 'clover'
                analysis:
                    file: 'checkstyle_report.xml'
                    format: 'general-checkstyle'

Example Scrutinizer Report

This is an example of what the Scrutinizer Report page looks like for a golang project.

Example Scrutinizer Report

Releases

No releases published

Packages

No packages published