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

mapbox / mapbox-gl-native / 17817
77%

Build:
DEFAULT BRANCH: master
Ran 18 Nov 2016 01:33AM UTC
Jobs 1
Files 379
Run time 20s
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
17817

push

travis-ci

jfirebaugh
[core] Convert style properties to a tuple-based approach

This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md.

The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily.

Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.

10079 of 13118 relevant lines covered (76.83%)

17418.81 hits per line

Jobs
ID Job ID Ran Files Coverage
5 17817.5 (BUILDTYPE=Debug _CXX=g++-5 _CC=gcc-5 WITH_COVERAGE=1 WITH_OSMESA=1) 18 Nov 2016 01:33AM UTC 0
76.83
Travis Job 17817.5
Source Files on build 17817
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #17817
  • 38fcbe21 on github
  • Prev Build on master (#17814)
  • Next Build on master (#17820)
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