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

pantsbuild / pants / 5087
0%
main: 91%

Build:
Build:
LAST BUILD BRANCH: add/support-nested-gitignores
DEFAULT BRANCH: main
Ran 29 May 2015 07:46PM UTC
Jobs 10
Files 327
Run time 12min
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
5087

push

travis-ci

ericzundel
Integrating Patrick's SimpleCodegenTask base class with WireGen.

Refactors of other codegen classes omitted in this patch for
simplicity; I will circle back and add Jaxb and Protobufs in a
new review once this patch goes through.

There are some TODO's for integrating isolated code-generation
strategies (the real motivation behind simplifying codegen),
which I will also circle back and replace with real code after
landing this patch.

Testing Done:
test tests/python/pants_test/backend/codegen/tasks:wire_gen passes,
test tests/python/pants_test/tasks:wire_integration passes,
CI is green.

I updated the wire test-cases a bit, including adding a unit test for sources_generated_by_target. I also added another .proto to the wire/elements example, and updated the corresponding integration test, to insure codegen works properly with multiple .proto files in the same target.

Bugs closed: 1597

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

73 of 73 new or added lines in 2 files covered. (100.0%)

13582 of 19587 relevant lines covered (69.34%)

1.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
38
100.0
src/python/pants/backend/codegen/tasks/simple_codegen_task.py
2
100.0
src/python/pants/backend/codegen/tasks/wire_gen.py

Coverage Regressions

Lines Coverage ∆ File
1
100.0
src/python/pants/backend/codegen/tasks/wire_gen.py
Jobs
ID Job ID Ran Files Coverage
1 5087.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 29 May 2015 07:46PM UTC 0
Travis Job 5087.1
2 5087.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 29 May 2015 07:46PM UTC 0
64.82
Travis Job 5087.2
3 5087.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 29 May 2015 07:48PM UTC 0
65.48
Travis Job 5087.3
4 5087.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 29 May 2015 07:46PM UTC 0
Travis Job 5087.4
5 5087.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 29 May 2015 07:48PM UTC 0
Travis Job 5087.5
6 5087.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 29 May 2015 07:55PM UTC 0
Travis Job 5087.6
7 5087.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 29 May 2015 07:56PM UTC 0
Travis Job 5087.7
8 5087.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 29 May 2015 07:54PM UTC 0
Travis Job 5087.8
9 5087.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 29 May 2015 07:58PM UTC 0
Travis Job 5087.9
10 5087.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 29 May 2015 07:58PM UTC 0
Travis Job 5087.10
Source Files on build 5087
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5087
  • d0717e9c on github
  • Prev Build on master (#5086)
  • Next Build on master (#5092)
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