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

JuliaData / CategoricalArrays.jl / 705
92%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2018 04:04PM UTC
Jobs 4
Files 11
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
705

push

travis-ci

web-flow
Fix similar() to respect requested element type, implement float() and complex() (#133)

similar(::CategoricalArray, T) used to return a CategoricalArray{T}, which is not a correct
implementation of the AbstractArray interface. Change it to return Array{T}, except when
T <: Union{CatValue,Missing}. This also fixes the behavior of AbstractArray constructors and
convert methods, whose fallback definitions use similar().

With these fixes, implementing float() and complex() is trivial.

Stop testing AbstractArray{T}(::CategoricalArray), which is not supported in Base either.

717 of 735 relevant lines covered (97.55%)

28886.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 705.1 05 Apr 2018 04:06PM UTC 0
95.63
Travis Job 705.1
2 705.2 05 Apr 2018 04:05PM UTC 0
98.72
Travis Job 705.2
3 705.3 05 Apr 2018 04:04PM UTC 0
95.63
Travis Job 705.3
4 705.4 05 Apr 2018 04:05PM UTC 0
98.72
Travis Job 705.4
Source Files on build 705
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #705
  • e2db279c on github
  • Prev Build on master (#700)
  • Next Build on master (#710)
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