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

pantsbuild / pants / 6005
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: test_pants_with_uv_lockfiles
DEFAULT BRANCH: main
Ran 05 Aug 2015 07:02PM UTC
Jobs 10
Files 348
Run time 11min
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
6005

push

travis-ci

dturner-tw
Handle recursive globs with build-file-rev

Previously, build-file-rev with recursive globs would fail in two ways:
1. cmd_line_spec_parser would mistakenly look for the glob directory
in the filesystem even.

2. Some relative paths would contain dot components (e.g. ./foo), and
_realpath_uncached would fail to handle these.

This patch fixes both of these problems.

The recursive glob check had to move inside scan_buildfiles.  To do
so, _isdir became a classmethod, so _isfile and _exists changed too,
for consistency.

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

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

24 of 24 new or added lines in 3 files covered. (100.0%)

15282 of 20833 relevant lines covered (73.35%)

1.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
100.0
src/python/pants/base/build_file.py
Jobs
ID Job ID Ran Files Coverage
1 6005.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 05 Aug 2015 07:02PM UTC 0
Travis Job 6005.1
2 6005.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 05 Aug 2015 07:06PM UTC 0
68.98
Travis Job 6005.2
3 6005.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 05 Aug 2015 07:05PM UTC 0
69.02
Travis Job 6005.3
4 6005.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 05 Aug 2015 07:04PM UTC 0
Travis Job 6005.4
5 6005.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 05 Aug 2015 07:06PM UTC 0
Travis Job 6005.5
6 6005.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 05 Aug 2015 07:09PM UTC 0
Travis Job 6005.6
7 6005.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 05 Aug 2015 07:10PM UTC 0
Travis Job 6005.7
8 6005.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 05 Aug 2015 07:10PM UTC 0
Travis Job 6005.8
9 6005.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 05 Aug 2015 07:11PM UTC 0
Travis Job 6005.9
10 6005.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 05 Aug 2015 07:14PM UTC 0
Travis Job 6005.10
Source Files on build 6005
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6005
  • 31cde2e3 on github
  • Prev Build on master (#6004)
  • Next Build on master (#6015)
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