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

openconfig / ygot / 948
89%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2018 10:48PM UTC
Jobs 2
Files 41
Run time 1min
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
948

push

travis-ci

web-flow
Add support for marshalling annotations to JSON (#160)

* Add JSON marshalling for an Annotation field.

 * (M) ygot/render*.go
   - Add handling for rendering annotations within structs to JSON
     during constructing output JSON for a GoStruct.

* Fix integration test for annotation marshalling.

 * (M) demo/device*
   - Add an integration/e2e test that demonstrates use of an annotation.
 * (M) exampleoc/oc.go
   - Regenerate code with fixed type for annotation.
 * (M) ygen/gogen*
   - Previous type used for an annotation was a slice of pointer to an interface,
     which was erroneous -- use a slice of interface type
 * (M) ytypes/container.go
   - Fix Validate() behaviour for annotations.
 * (M) ygot/render*
   - Amendments to marshalling code.

* Fix error message text.

* Ensure test case covers unmarshal error.

* Remove debug statement.

* Address review comments.

* Remove trailing newline.

7479 of 8239 relevant lines covered (90.78%)

176.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 948.1 09 Feb 2018 10:48PM UTC 0
90.78
Travis Job 948.1
2 948.2 09 Feb 2018 10:50PM UTC 0
90.78
Travis Job 948.2
Source Files on build 948
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #948
  • e4c7b2b9 on github
  • Prev Build on master (#944)
  • Next Build on master (#963)
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