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

pantsbuild / pants / 6922
0%
main: 93%

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

push

travis-ci

baroquebobcat
Don't modify globs excludes argument value.

Ideally, users shouldn't be using variables in BUILD files, but if they do, we shouldn't be modifying their values.

The error message that comes up is like this when the excludes value is reused as a sources list:

                       File ".../src/python/pants/base/target.py", line 545, in create_sources_field
                         assert_list(sources, key_arg=key_arg)
                       File ".../src/python/pants/base/validation.py", line 49, in assert_list
                         .format(key_msg, expected_type, e, e.__class__))
                     ValueError: In key 'sources': Expected a list containing values of type (<type 'basestring'>,), instead got a value ['fleem.java'] of <type 'list'>

Testing Done:
Wrote regression test, saw that it failed. Updated implementation and made it pass.

Bugs closed: 2213

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

7 of 7 new or added lines in 1 file covered. (100.0%)

17892 of 23669 relevant lines covered (75.59%)

1.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6922.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 17 Sep 2015 07:42PM UTC 0
Travis Job 6922.1
2 6922.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 17 Sep 2015 07:42PM UTC 0
71.14
Travis Job 6922.2
3 6922.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 17 Sep 2015 07:43PM UTC 0
71.69
Travis Job 6922.3
4 6922.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 17 Sep 2015 07:41PM UTC 0
Travis Job 6922.4
5 6922.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 17 Sep 2015 07:41PM UTC 0
Travis Job 6922.5
6 6922.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 17 Sep 2015 07:49PM UTC 0
Travis Job 6922.6
7 6922.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 17 Sep 2015 07:51PM UTC 0
Travis Job 6922.7
8 6922.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 17 Sep 2015 07:48PM UTC 0
Travis Job 6922.8
9 6922.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 17 Sep 2015 07:49PM UTC 0
Travis Job 6922.9
10 6922.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 17 Sep 2015 07:51PM UTC 0
Travis Job 6922.10
Source Files on build 6922
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6922
  • 60bb82dc on github
  • Prev Build on master (#6921)
  • Next Build on master (#6929)
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