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

m-lab / bmctool / 175
75%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2020 11:45AM UTC
Jobs 1
Files 12
Run time 5s
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

31 Jul 2020 11:43AM UTC coverage: 71.608% (-1.6%) from 73.171%
175

push

travis-ci

web-flow
Implement project auto-detection using siteinfo (#42)

* Add project auto-detection.

This change implements project auto-detection by querying siteinfo.
If a project hasn't been specified explicitly via the -project command-line
flag or by providing a full hostname, now bmctool will query siteinfo's
projects.json to see if the node exists and which project is the right one.

* Fix tests.

To avoid having to mock httpGet everywhere, hostnames are always complete
with projectID so siteinfo is never queried except in the tests for
getProjectID itself.

* Update comments + remove flag mistakenly added again

91 of 91 new or added lines in 9 files covered. (100.0%)

343 of 479 relevant lines covered (71.61%)

1.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
cmd/forward.go
2
100.0
cmd/root.go
9
100.0
cmd/keys_set.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
cmd/root.go
12
100.0
cmd/forward.go
Jobs
ID Job ID Ran Files Coverage
1 175.1 (GO111MODULE=on) 31 Jul 2020 11:45AM UTC 0
71.61
Travis Job 175.1
Source Files on build 175
  • Tree
  • List 12
  • Changed 9
  • Source Changed 9
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #175
  • 2a0a1394 on github
  • Prev Build on master (#197)
  • Next Build on master (#206)
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

© 2025 Coveralls, Inc