• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber-go / cadence-client / 730
65%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2018 12:42AM UTC
Jobs 1
Files 29
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
730

push

travis-ci

vancexu
Actually detect the existing lint failures (#430)

Currently, `make lint` doesn't detect any problems, apparently because
`golint internal/activity.go` doesn't report any issues.
However, if you `golint internal` you get multiple results, and you get
the same if you `golint internal/activity.go internal/other_files.go`.

Why fails like this, I have no idea.

The fix though is to call `golint` with a whitelisted set of go files,
per directory (on the assumption that every directory is a package).
Make doesn't make this particularly easy, but it's at least possible.

```
$ make lint
./internal/activity.go:186:9: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:48:8: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:66:8: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:85:8: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:103:8: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:121:8: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:136:8: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:149:8: should not use basic type untyped string as key in context.WithValue
./internal/activity_test.go:179:8: should not use basic type untyped string as key in context.WithValue
./internal/internal_task_pollers.go:352:9: should not use basic type untyped string as key in context.WithValue
Found 10 lint suggestions; failing.
make: *** [lint] Error 1
```

5456 of 8413 relevant lines covered (64.85%)

113.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 730.1 04 Apr 2018 12:42AM UTC 0
64.85
Travis Job 730.1
Source Files on build 730
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #730
  • 275f5ef9 on github
  • Prev Build on master (#728)
  • Next Build on master (#737)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc