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

google / fruit / 381
32%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2020 03:40AM UTC
Jobs 2
Files 4
Run time 3s
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
381

Pull #55

travis-ci

GitHub
Added support for MSVC 14 (VS2015)

The primary modes of failure (both compilation and runtime) for MSVC 14
were the following:
1. MSVC 14 is not able to properly parse alias
   template specializations when expanded parameter pack elements are
   used as a template argument.
2. MSVC 14 has trouble in some instances recognizing that a specialized
   alias template is a type.
3. Assuming struct Y inherits from struct X and y is an instance of Y,
   the pointer to y that is used for binding can get mangled when creating
   a Component.
   For example, fruit::createComponent().bindInstance<Y, Y>(y).bind<X, Y>()
   will mangle the pointer to y such that fruit::Injector::get() returns
   an invalid reference, causing a crash.
   I'm not exactly sure what the compiler is doing, but this happens
   when the PartialComponent returned by the chained binds calls is copied
   when it is passed by value to the Component constructor.
   Note, this does not happen if the bind calls in the above example
   are swapped:
      fruit::createComponent().bind<X, Y>().bindInstance<Y, Y>(y)
Pull Request #55: Fixed support for MSVC 14 (VS2015)

14 of 75 relevant lines covered (18.67%)

0.37 hits per line

Jobs
ID Job ID Ran Files Coverage
2 381.2 (COMPILER=gcc-7 UBUNTU=17.10 TEST=DebugPlain) 17 Mar 2020 03:40AM UTC 0
18.67
Travis Job 381.2
5 381.5 (COMPILER=clang-4.0 STL=libstdc++ UBUNTU=17.10 TEST=ReleasePlain) 17 Mar 2020 03:40AM UTC 0
18.67
Travis Job 381.5
Source Files on build 381
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #381
  • Pull Request #55
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