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

pantsbuild / pants / 7571
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: add/source-field-in-rust
DEFAULT BRANCH: main
Ran 23 Oct 2015 07:21AM 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
7571

push

travis-ci

jsirois
Add support for config selectors in dep addresses.

This allows for modelling many variants of a target through a single
target with many configurations.  When the set of applicable
configuratons for a dependee has more than one element, the required
configuration can be specified by "sub-addressing" into a target's
(named) configurations.

This change adds an example of this:
```
./pants run src/python/pants/engine/exp/examples:viz -- \
  tests/python/pants_test/engine/exp/examples/scheduler_inputs \
  compile \
  src/java/codegen/selector:selected
```

As well as an example of what happens when more than one configuration
applies (a failing example):
```
./pants run src/python/pants/engine/exp/examples:viz -- \
  tests/python/pants_test/engine/exp/examples/scheduler_inputs \
  compile \
  src/java/codegen/selector:conflict
...
pants.engine.exp.scheduler.ConflictingProducersError: Collected the
following plans for generating "Sources(u'.java')" from
Target(address=src/thrift/codegen/selector)
  ApacheThriftPlanner
  ScroogePlanner

FAILURE:
/home/jsirois/dev/3rdparty/jsirois-pants3/build-support/pants_dev_deps.venv/bin/python2.7
pants.engine.exp.examples.visualizer:main
tests/python/pants_test/engine/exp/examples/scheduler_inputs compile
src/java/codegen/selector:conflict ... exited non-zero (1)
```

Testing Done:
Locally, ran the `src/java/codegen/selector:selected` case which
yielded the attached plan graph.

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

Bugs closed: 2418, 2439

Reviewed at https://rbcommons.com/s/twitter/r/3025/
Jobs
ID Job ID Ran Files Coverage
1 7571.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 23 Oct 2015 07:24AM UTC 0
Travis Job 7571.1
4 7571.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 23 Oct 2015 07:32AM UTC 0
Travis Job 7571.4
5 7571.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 23 Oct 2015 07:21AM UTC 0
Travis Job 7571.5
6 7571.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 23 Oct 2015 07:30AM UTC 0
Travis Job 7571.6
7 7571.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 23 Oct 2015 07:36AM UTC 0
Travis Job 7571.7
8 7571.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 23 Oct 2015 07:35AM UTC 0
Travis Job 7571.8
9 7571.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 23 Oct 2015 07:30AM UTC 0
Travis Job 7571.9
10 7571.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 23 Oct 2015 07:41AM UTC 0
Travis Job 7571.10
Source Files on build 7571
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7571
  • bc064b77 on github
  • Prev Build on master (#7570)
  • Next Build on master (#7577)
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