Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
7e089314
Unverified
Commit
7e089314
authored
Apr 23, 2018
by
Carl Bergquist
Committed by
GitHub
Apr 23, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11688 from mjtrangoni/fix-gometalinter-circleci
fix CircleCI gometalinter test
parents
6b585493
fd20aa7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
.circleci/config.yml
+13
-8
No files found.
.circleci/config.yml
View file @
7e089314
...
@@ -20,18 +20,19 @@ jobs:
...
@@ -20,18 +20,19 @@ jobs:
gometalinter
:
gometalinter
:
docker
:
docker
:
-
image
:
circleci/golang:1.10
-
image
:
circleci/golang:1.10
environment
:
# we need CGO because of go-sqlite3
CGO_ENABLED
:
1
working_directory
:
/go/src/github.com/grafana/grafana
working_directory
:
/go/src/github.com/grafana/grafana
steps
:
steps
:
-
checkout
-
checkout
-
run
:
'
go
get
-u
gopkg.in/alecthomas/gometalinter.v2'
-
run
:
'
go
get
-u
github.com/opennota/check/cmd/structcheck'
-
run
:
'
go
get
-u
github.com/mdempsky/unconvert'
-
run
:
'
go
get
-u
github.com/opennota/check/cmd/varcheck'
-
run
:
-
run
:
name
:
install gometalinter tool
name
:
run linters
command
:
'
go
get
-u
github.com/alecthomas/gometalinter'
command
:
'
gometalinter.v2
--enable-gc
--vendor
--deadline
10m
--disable-all
--enable=structcheck
--enable=unconvert
--enable=varcheck
./...'
-
run
:
name
:
install linters
command
:
'
gometalinter
--install'
-
run
:
name
:
run some linters
command
:
'
gometalinter
--vendor
--deadline
6m
--disable-all
--enable=structcheck
--enable=unconvert
--enable=varcheck
./pkg/...'
test-frontend
:
test-frontend
:
docker
:
docker
:
...
@@ -139,6 +140,10 @@ workflows:
...
@@ -139,6 +140,10 @@ workflows:
filters
:
filters
:
tags
:
tags
:
only
:
/.*/
only
:
/.*/
-
gometalinter
:
filters
:
tags
:
only
:
/.*/
-
build
:
-
build
:
filters
:
filters
:
tags
:
tags
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment