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

elves / elvish / 1907
46%

Build:
DEFAULT BRANCH: master
Ran 28 May 2018 08:27PM UTC
Jobs 2
Files 210
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
1907

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

7367 of 13985 relevant lines covered (52.68%)

1.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1907.1 (CGO_ENABLED=0) 28 May 2018 08:27PM UTC 0
52.68
Travis Job 1907.1
2 1907.2 (CGO_ENABLED=0) 28 May 2018 08:28PM UTC 0
52.64
Travis Job 1907.2
Source Files on build 1907
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1907
  • e89fe488 on github
  • Prev Build on master (#1905)
  • Next Build on master (#1908)
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