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

pantsbuild / pants / 8016
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: multiplatform_pex_with_uv
DEFAULT BRANCH: main
Ran 21 Nov 2015 10:23PM UTC
Jobs 8
Files 0
Run time –
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
8016

push

travis-ci

patricklaw
Add a helper staticmethod `closure()` to `BuildGraph`.

Testing Done:
`BuildGraph.closure()` emulates `Target.closure()` but instead accepts a (potentially empty) iterable of
targets and computes their closure all at once using the efficient implementations in `BuildGraph`.

`BuildGraph.closure()` will delegate to the appropriate bfs vs dfs implementation on `BuildGraph` based on
the passed `bfs` parameter (defaults to `False`).  It will not pass through predicates or `postorder` when
in `dfs` mode.

Because of the peeking at `Target._build_graph`, which is private, this isn't an ideal long-term solution--
but it's a compromise between repeating the same tricky code (which is dangerous) and repeating the same
ugly code (which is error and cargo-cult prone).

CI is green: https://travis-ci.org/pantsbuild/pants/builds/92484970

Bugs closed: 2602, 2605

Reviewed at https://rbcommons.com/s/twitter/r/3160/
Jobs
ID Job ID Ran Files Coverage
1 8016.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 21 Nov 2015 10:27PM UTC 0
Travis Job 8016.1
4 8016.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 21 Nov 2015 10:36PM UTC 0
Travis Job 8016.4
5 8016.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 21 Nov 2015 10:23PM UTC 0
Travis Job 8016.5
6 8016.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 21 Nov 2015 10:31PM UTC 0
Travis Job 8016.6
7 8016.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 21 Nov 2015 10:38PM UTC 0
Travis Job 8016.7
8 8016.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 21 Nov 2015 10:35PM UTC 0
Travis Job 8016.8
9 8016.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 21 Nov 2015 10:35PM UTC 0
Travis Job 8016.9
10 8016.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 21 Nov 2015 10:37PM UTC 0
Travis Job 8016.10
Source Files on build 8016
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8016
  • 890f05b2 on github
  • Prev Build on master (#8006)
  • Next Build on master (#8020)
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