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

pantsbuild / pants / 6921
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: ng_subsystem
DEFAULT BRANCH: main
Ran 17 Sep 2015 07:02PM UTC
Jobs 10
Files 394
Run time 20min
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
6921

push

travis-ci

jsirois
Transition `IvyImports` to 'compile_classpath'.

This kills the last user of the 'jar_dependencies' product and, as a
result, the last extra product of `IvyResolve` - all resolve consumers
now use the 'compile_classpath' `ClasspathProducts`.

To support this, the majority of `IvyResolve.execute` is pulled up into
`IvyTaskMixin.resolve` which now handles population of
`ClasspathProducts` from the lower-level `ivy_resolve`.  Much cleanup
in IvyTaskMixin is now tractable, but left for follow up changes.

The `IvyImports` product is hardened into a custom type and consumers
are updated to use this type and remove some prior hacks no longer
needed.

The 'jar_dependencies' product was the only one to use the `Products`
required predicate mechanism, so that mechanism is removed to bring
`ProductMapping` products in-line with data products.  A subsequent
change can now merge these two types of product into one with identical
handling.

Testing Done:
My machine is setup for the android tests and this ran green:
```
$ ./pants test tests/python/pants_test/android/tasks:{unpack_libraries,unpack_libraries_integration}
...
                     tests/python/pants_test/android/tasks/test_unpack_libraries.py ..............
                     tests/python/pants_test/android/tasks/test_unpack_libraries_integration.py .

                     =========== 15 passed in 3.72 seconds ============
```

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/80875412

Bugs closed: 1841, 2212

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

167 of 167 new or added lines in 14 files covered. (100.0%)

17890 of 23667 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/ivy_utils.py
1
100.0
src/python/pants/backend/jvm/tasks/bundle_create.py
1
100.0
src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py
1
100.0
src/python/pants/backend/jvm/tasks/unpack_jars.py
1
100.0
src/python/pants/engine/round_manager.py
2
100.0
src/python/pants/backend/android/tasks/unpack_libraries.py
2
100.0
src/python/pants/backend/jvm/tasks/ivy_imports.py
2
100.0
src/python/pants/backend/jvm/tasks/ivy_resolve.py
2
100.0
src/python/pants/backend/jvm/tasks/jar_import_products.py
6
100.0
src/python/pants/backend/jvm/tasks/ivy_task_mixin.py
7
100.0
src/python/pants/backend/codegen/tasks/protobuf_gen.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/python/pants/backend/jvm/ivy_utils.py
1
100.0
src/python/pants/backend/jvm/tasks/ivy_task_mixin.py
1
100.0
src/python/pants/goal/products.py
2
100.0
src/python/pants/backend/codegen/tasks/protobuf_gen.py
Jobs
ID Job ID Ran Files Coverage
1 6921.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 17 Sep 2015 07:03PM UTC 0
Travis Job 6921.1
2 6921.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 17 Sep 2015 07:04PM UTC 0
71.59
Travis Job 6921.2
3 6921.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 17 Sep 2015 07:02PM UTC 0
71.34
Travis Job 6921.3
4 6921.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 17 Sep 2015 07:02PM UTC 0
Travis Job 6921.4
5 6921.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 17 Sep 2015 07:03PM UTC 0
Travis Job 6921.5
6 6921.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 17 Sep 2015 07:11PM UTC 0
Travis Job 6921.6
7 6921.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 17 Sep 2015 07:22PM UTC 0
Travis Job 6921.7
8 6921.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 17 Sep 2015 07:09PM UTC 0
Travis Job 6921.8
9 6921.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 17 Sep 2015 07:10PM UTC 0
Travis Job 6921.9
10 6921.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 17 Sep 2015 07:12PM UTC 0
Travis Job 6921.10
Source Files on build 6921
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6921
  • aea2747c on github
  • Prev Build on master (#6918)
  • Next Build on master (#6922)
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