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

ministryofjustice / bootstrap-salt / 401 / 1
56%
master: 53%

Build:
Build:
LAST BUILD BRANCH: v2.0.1
DEFAULT BRANCH: master
Ran 11 Aug 2015 10:59AM 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

11 Aug 2015 10:57AM UTC coverage: 56.415%. Remained the same
401.1

push

travis-ci

ashb
When building the tar for upload resolve symlinks, don't copy them

Using `cp` was causing us problems when we run the task on linux where
it's `cp` behaves differently to OSX when it encounters symlinks. OSX
was copying the symlink contents, linux was copying the symlink itself.

Rather than having to detect the OS and invoke cp differently ourselves
the shutils module in the python standard library has a copytree
function that has a `symlink` arg that when set to False gives us the
behaviour we want: to copy the symlink as if it was a normal directory,
rather than copy the symlink as a symlink.

This means that the tar file we generate contains just the formula
folders directly in /srv/salt-formulas, so we also specify the file_root
config for salt minion so that the directory overlaying works properly
rather than mashing thing from the formulas on top of the local salt/
tree (which would reverse the precedence so that files from the formulas
would be used over files in salt/)

321 of 569 relevant lines covered (56.41%)

0.56 hits per line

Source Files on job 401.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 401
  • Travis Job 401.1
  • 0709a817 on github
  • Prev Job for on salt-formula-symlink-fix (#400.1)
  • Next Job for on salt-formula-symlink-fix (#402.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