Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
ci: add gometalinter comment directive
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jul 1, 2018
1 parent f570c4a commit 55dc4ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
23 changes: 2 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,8 @@ install:
- go get github.com/mitchellh/gox
script:
- npm run commitlint-travis
# I can't understand the reason but it is failed to run "gometalinter ./..." travis ci
# index_set.go:1::warning: file is not goimported (goimports)
# index_set.go:1::warning: file is not gofmted with -s (gofmt)
# - gometalinter ./...
# - bash script/metalint_travis.sh
- gometalinter --debug .
# - gometalinter ./client
# - gometalinter ./client/endpoint
# - gometalinter ./mockserver
# - gometalinter ./mockserver/exec
# - gometalinter ./mockserver/handler
# - gometalinter ./mockserver/logic
# - gometalinter ./mockserver/seed
# - gometalinter ./mockserver/store
# - gometalinter ./mockserver/store/plain
# - gometalinter ./terraform
# - gometalinter ./terraform/graylog
# - gometalinter ./testutil
# - gometalinter ./util
# - gometalinter ./validator
# - bash script/codecov-test.sh
- gometalinter ./...
- bash script/codecov-test.sh
after_success:
- bash script/codecov.sh
- TAG=$TRAVIS_TAG bash script/release.sh
4 changes: 4 additions & 0 deletions index_set.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// I can't understand the reason but it is failed to run "gometalinter ./..." travis ci
// index_set.go:1::warning: file is not goimported (goimports)
// index_set.go:1::warning: file is not gofmted with -s (gofmt)
// nolint: goimports, gofmt
package graylog

import (
Expand Down
4 changes: 0 additions & 4 deletions script/metalint_travis.sh

This file was deleted.

0 comments on commit 55dc4ff

Please sign in to comment.