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

pantsbuild / pants / 6929
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: ng_subsystem
DEFAULT BRANCH: main
Ran 18 Sep 2015 06:11PM UTC
Jobs 10
Files 394
Run time 14min
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
6929

push

travis-ci

baroquebobcat
Use list comprehension in jvm_compile to calculate valid targets

While looking at vts usages when adjusting buildcache for adding the cache hit callback, I noticed that we are doing extra work here.

Instead of doing set math with relevant_targets and invalid_targets, this creates a list from the all_vts' targets, removing the invalid ones. all_vts in this context maps onto relevant_targets, so they are equivalent but I think this is simpler and creates fewer intermediate objects / operations.

Testing Done:
CI away at https://travis-ci.org/pantsbuild/pants/builds/81050720 . I ran some integration tests locally and had both implementations with an assert containing an equality check. I would have expected the assert to blow up if my assumptions were incorrect.

Bugs closed: 2216

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

1 of 1 new or added line in 1 file covered. (100.0%)

17892 of 23669 relevant lines covered (75.59%)

1.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py
Jobs
ID Job ID Ran Files Coverage
1 6929.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 18 Sep 2015 06:11PM UTC 0
Travis Job 6929.1
2 6929.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 18 Sep 2015 06:13PM UTC 0
71.14
Travis Job 6929.2
3 6929.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 18 Sep 2015 06:14PM UTC 0
71.69
Travis Job 6929.3
4 6929.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 18 Sep 2015 06:12PM UTC 0
Travis Job 6929.4
5 6929.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 18 Sep 2015 06:18PM UTC 0
Travis Job 6929.5
6 6929.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 18 Sep 2015 06:21PM UTC 0
Travis Job 6929.6
7 6929.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 18 Sep 2015 06:21PM UTC 0
Travis Job 6929.7
8 6929.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 18 Sep 2015 06:19PM UTC 0
Travis Job 6929.8
9 6929.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 18 Sep 2015 06:22PM UTC 0
Travis Job 6929.9
10 6929.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 18 Sep 2015 06:25PM UTC 0
Travis Job 6929.10
Source Files on build 6929
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6929
  • f9fce86e on github
  • Prev Build on master (#6922)
  • Next Build on master (#6930)
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