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

ministryofjustice / bootstrap-salt / 413
57%
master: 53%

Build:
Build:
LAST BUILD BRANCH: v2.0.1
DEFAULT BRANCH: master
Ran 13 Aug 2015 12:29PM UTC
Jobs 1
Files 12
Run time 0s
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
413

push

travis-ci

ashb
Fix error in creating salt tar when you project has a file in ./salt/_grains/

The problem was the shutil.copytree expects the target directory to not
exists, and if it already exists then will raise an OSError. This could
happen because we first copy the project's ./salt dir to the tmp dir
(which in this case had a ./salt/_grains/neighbours.py), and then we try
to copy the contrib/srv/salt/_grains/ dir which fails because the
previous step created that folder already.

The best solution I can found (as mentioned in
http://stackoverflow.com/a/12687372/439189) is to copy the
implementation of copytree from the shutil module and put a guard around
the the makedir

323 of 607 relevant lines covered (53.21%)

0.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 413.1 13 Aug 2015 12:29PM UTC 0
53.21
Travis Job 413.1
Source Files on build 413
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #413
  • e02d7156 on github
  • Next Build on fix-file-exist-error-in-salt-tar (#415)
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