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

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

Build:
Build:
LAST BUILD BRANCH: v2.0.1
DEFAULT BRANCH: master
Ran 13 Aug 2015 12:52PM 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
415

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

344 of 607 relevant lines covered (56.67%)

0.57 hits per line

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