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

ctmarinas / stgit / 64
90%

Build:
DEFAULT BRANCH: master
Ran 28 Sep 2019 05:07PM UTC
Jobs 2
Files 79
Run time 11s
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
64

push

travis-ci

jpgrayson
Replace readonly_constant_property decorator

The custom readonly_constant_property decorator was only used within the
Directory class hierarchy. And it no longer seems to warrant its
complexity.

The git_dir readonly_constant_property becomes a regular _get_git_dir()
method. It is only ever called once, at Directory setup time, to ensure
that the command is being run in the context of a git repository.

The __topdir_path readonly_constant_property is removed. The cd_to_topdir()
method now calls `git rev-parse --show-cdup` on its own and changes
directory, if necessary. This potentially saves a superfluous os.chdir()
call.

The is_inside_git_dir readonly_constant_property was unused and is removed.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>

2228 of 2797 branches covered (79.66%)

Branch coverage included in aggregate %.

6491 of 7393 relevant lines covered (87.8%)

1.75 hits per line

Jobs
ID Job ID Ran Files Coverage
3 64.3 (MAKE_TARGET=coverage-test) 28 Sep 2019 05:08PM UTC 0
85.09
Travis Job 64.3
4 64.4 (MAKE_TARGET=coverage-test) 28 Sep 2019 05:07PM UTC 0
85.85
Travis Job 64.4
Source Files on build 64
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #64
  • 62858411 on github
  • Prev Build on master (#63)
  • Next Build on master (#65)
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