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

pantsbuild / pants / 5602
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: upgrade-hdr-histogram
DEFAULT BRANCH: main
Ran 12 Jul 2015 12:53AM UTC
Jobs 10
Files 335
Run time 7min
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
5602

push

travis-ci

Stu Hood
Improved artifact cache usability

Provided a simpler interface for caching, which tasks may opt into: each VersionedTarget (VT) is given a directory in which to place its results, so when executing some task on invalid VersionedTargets, the task may place the artifacts of a VT within its corresponding directory. The act of writing the VT / artifact files to the cache is factored out of individual tasks, and is done "automatically" by Task->execute.

Implemented the above functionality in various tasks to showcase various use cases (CppBinaryCreate, CppCompile, CppLibraryCreate, Checkstyle, Scalastyle, JarCreate). Note: this interface only works on isolated strategies, not global.

Wrote a test utility for verifying arbitrary unit tests are caching results.

Testing Done:
CI: https://travis-ci.org/pantsbuild/pants/builds/70269784

Added C++ integration tests for caching, and applied above mentioned test utility to various tests to verify caching.

Note: There was an issue with Antlr unit tests, which began to fail when using the artifact cache. These tests were disabled: see lengthy comment in tests/python/pants_test/backend/codegen/tasks/test_antlr_gen.py for more details.

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

14152 of 20019 relevant lines covered (70.69%)

1.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5602.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 12 Jul 2015 12:55AM UTC 0
Travis Job 5602.1
2 5602.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 12 Jul 2015 12:54AM UTC 0
66.4
Travis Job 5602.2
3 5602.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 12 Jul 2015 12:54AM UTC 0
66.63
Travis Job 5602.3
4 5602.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 12 Jul 2015 12:53AM UTC 0
Travis Job 5602.4
5 5602.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 12 Jul 2015 12:54AM UTC 0
Travis Job 5602.5
6 5602.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 12 Jul 2015 12:59AM UTC 0
Travis Job 5602.6
7 5602.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 12 Jul 2015 12:58AM UTC 0
Travis Job 5602.7
8 5602.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 12 Jul 2015 01:01AM UTC 0
Travis Job 5602.8
9 5602.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 12 Jul 2015 12:59AM UTC 0
Travis Job 5602.9
10 5602.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 12 Jul 2015 12:59AM UTC 0
Travis Job 5602.10
Source Files on build 5602
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5602
  • b2202480 on github
  • Prev Build on master (#5601)
  • Next Build on master (#5604)
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