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

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

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

13 Aug 2015 12:50PM UTC coverage: 56.672% (+3.5%) from 53.213%
415.1

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

Source Files on job 415.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 415
  • Travis Job 415.1
  • 6e2e02dc on github
  • Prev Job for on fix-file-exist-error-in-salt-tar (#413.1)
  • Next Job for on fix-file-exist-error-in-salt-tar (#417.1)
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