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

elves / elvish / 1907 / 2
46%
master: 46%

Build:
DEFAULT BRANCH: master
Ran 28 May 2018 08:28PM UTC
Files 210
Run time 13s
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

28 May 2018 08:24PM UTC coverage: 52.643% (+0.3%) from 52.38%
CGO_ENABLED=0

push

travis-ci

xiaq
Add `styled` and `styled-segment` builtins (#674)

* Add compatibility test with old implementation

* Add color type

* Add basic style structs and utilities

* Add structs for styled segments and texts

* Add default style transformers to reimplement $edit:styled~

* Add builtins to manipulate styled segments and texts

* Rename style 'underline' -> 'underlined'

* Fix test case

* Add conversion from styled text to ansi sequences

* Return errors rather than throwing

* Validate the type of boolean options

* Delegate old to new styled function

* Rebase for new test framework api and expand test cases

* Remove old builtin function $edit:styled~

* Use strings to represent colors

* Convert bool pointers to simple bool values

* Validate color strings

* Do no longer expose builtin style transformers

* Fix confusion about pointers

* Make outputs more stable

* Expand tests

* Use pointers instead of passing setter functions

* Unexport and rename color check

* Use the empty string for default colors

* Expand tests

* Simplify styled transformers

Now there are three transformers for each boolean style attribute that
allow setting, unsetting and toggling the corresponding attribute.

* Rework and add doc comments

7360 of 13981 relevant lines covered (52.64%)

0.6 hits per line

Source Files on job 1907.2 (CGO_ENABLED=0)
  • Tree
  • List 0
  • Changed 21
  • Source Changed 18
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1772
  • Travis Job 1907.2
  • e89fe488 on github
  • Prev Job for CGO_ENABLED=0 on master (#1905.2)
  • Next Job for CGO_ENABLED=0 on master (#1908.1)
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