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

m-lab / go / 803
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v0.1.76
DEFAULT BRANCH: main
Ran 24 Mar 2020 09:13PM UTC
Jobs 1
Files 35
Run time 6s
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

20 Mar 2020 08:35PM UTC coverage: 82.826% (+1.3%) from 81.574%
803

cron

travis-ci

web-flow
Adds a new package for parsing v1 and v2 M-Lab hostnames (#107)

* Adds a new package hostname for parsing v1 and v2 platform hostnames.

* Fixes the v1 regex to not match invalid v2 names, and use continue instead of t.Skip().

* Adds a couple more test to get better test coverage.

* Updates main package comment with suggestions from PR.

* Renames package from hostname to host, and primary struct from Hostname to Name. Now, it can be called as host.Name instead of hostname.Hostname.

* Capitalizes all Name struct fields so that they are exportable.

* Removes Hostname field from Name struct, since it was identical to what was passed to Parse() anyway, and redundant.

* Sets all fields of Name to empty strings in want field in tests and removes the continue statment.

* Renames package dir from hostname to host, and uses zero value Name struct for testing instead of setting every field to the empty string.

1389 of 1677 relevant lines covered (82.83%)

212.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 803.1 24 Mar 2020 09:13PM UTC 0
82.83
Travis Job 803.1
Source Files on build 803
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #803
  • 1f027ab1 on github
  • Prev Build on master (#801)
  • Next Build on master (#806)
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