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

pantsbuild / pants / 5859 / 2
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: add/port-target-adaptor-and-source-block
DEFAULT BRANCH: main
Ran 28 Jul 2015 11:06PM UTC
Files 342
Run time 15s
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 Jul 2015 11:05PM UTC coverage: 67.956% (-0.001%) from 67.957%
CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'"

push

travis-ci

Garrett Malmquist
Declaring product_types for simple_codegen_task.

This is a hack to get the round manager to properly run codegen
before resolve and compile. It would be more correct to just
have each individual codegen class declare what languages it
generates, but would cause problems with scala.

Background (discussed on slack): commit a8a73797a
broke Square's java repo, because it removed the last task outside of contrib that
provided the 'java' product. The old `CodeGen` used a hack to claim to generate
all relevant product types, to get around problems with the round engine.

This introduces that hack into simple_codegen_task.py, fixing the regression.
Hopefully the underlying problems in round engine will be fixed eventually, and
this hack can go away.

Testing Done:
CI went green: https://travis-ci.org/pantsbuild/pants/builds/73099770

Bugs closed: 1878

Reviewed at https://rbcommons.com/s/twitter/r/2540/

13884 of 20431 relevant lines covered (67.96%)

0.68 hits per line

Source Files on job 5859.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5859
  • Travis Job 5859.2
  • f50f8899 on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#5854.2)
  • Next Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#5864.2)
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