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

pantsbuild / pants / 6873
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: uv-lockfile-resolver
DEFAULT BRANCH: main
Ran 15 Sep 2015 10:06PM UTC
Jobs 10
Files 392
Run time 107min
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
6873

push

travis-ci

gmalmquist
Adding a console task to explain where options came from.

Since pants allows options in config files that haven't been
registered, it's easy to accidentally typo an option and have
pants silently ignore your config.

It can also be tricky to know what options end up getting used when
you might have flags set via multiple config files, through env
variables, and by flags set in wrapper scripts.

This makes it easy to verify if options you set in pants.ini or
elsewhere are actually sticking/not getting overriden by something
else.

It might also be cool to plumb this information through to the
pants server UI at some point.

Testing Done:
Added tests to tests/python/pants_test/option/test_options_integration.py and tests/python/pants_test/option/test_options.py.

CI went green here: https://travis-ci.org/gmalmquist/pants/builds/80306892
CI went green here: https://travis-ci.org/gmalmquist/pants/builds/80484138
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/80508164

Bugs closed: 2192

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

159 of 159 new or added lines in 9 files covered. (100.0%)

17856 of 23655 relevant lines covered (75.49%)

1.42 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/python/pants/backend/core/register.py
1
100.0
src/python/pants/option/options.py
2
100.0
src/python/pants/base/config.py
6
100.0
src/python/pants/option/option_tracker.py
7
100.0
src/python/pants/option/ranked_value.py
49
100.0
src/python/pants/backend/core/tasks/explain_options_task.py
Jobs
ID Job ID Ran Files Coverage
1 6873.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 15 Sep 2015 10:07PM UTC 0
Travis Job 6873.1
2 6873.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 15 Sep 2015 10:06PM UTC 0
71.36
Travis Job 6873.2
3 6873.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 15 Sep 2015 10:10PM UTC 0
70.97
Travis Job 6873.3
4 6873.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 15 Sep 2015 10:08PM UTC 0
Travis Job 6873.4
5 6873.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 15 Sep 2015 10:12PM UTC 0
Travis Job 6873.5
6 6873.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 15 Sep 2015 10:12PM UTC 0
Travis Job 6873.6
7 6873.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 15 Sep 2015 10:16PM UTC 0
Travis Job 6873.7
8 6873.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 15 Sep 2015 10:17PM UTC 0
Travis Job 6873.8
9 6873.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 15 Sep 2015 10:15PM UTC 0
Travis Job 6873.9
10 6873.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 15 Sep 2015 10:20PM UTC 0
Travis Job 6873.10
Source Files on build 6873
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6873
  • ce4a69c0 on github
  • Prev Build on master (#6870)
  • Next Build on master (#6875)
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