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

tgbugs / augpathlib / 120
47%

Build:
DEFAULT BRANCH: master
Ran 08 May 2020 02:16AM UTC
Jobs 1
Files 9
Run time 2s
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
120

push

travis-ci

tgbugs
first pass at a context manager for git.Reference

this makes it possible to write

with repo.getRef('branch'):
   "do something"

and the git repo will be returned to the exact state that it was in
before the context manager was called

this is implemented using two calls to git stash --all and is
currently missing a check to make sure that stash@{1} is in fact that
stashed state that we came from, this implementation is also probably
broken because when returning to the original branch we should
probably make sure that we reset the head to the exact ref the repo
was at when we entered instead of just to the ref so that if some
other process adds a commit on the original branch the stash will
still apply correctly, if the ref has changed we should probably log
a warning to indicate that the original branch has changed while we
were away and to check the reflog to see what is going on

1202 of 2715 relevant lines covered (44.27%)

0.44 hits per line

Jobs
ID Job ID Ran Files Coverage
2 120.2 (PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1) 08 May 2020 02:16AM UTC 0
44.27
Travis Job 120.2
Source Files on build 120
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #120
  • 0b1135fc on github
  • Prev Build on master (#119)
  • Next Build on master (#123)
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