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

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

Build:
Build:
LAST BUILD BRANCH: v2.0.1
DEFAULT BRANCH: master
Ran 12 Aug 2015 01:11PM UTC
Files 12
Run time 1s
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 02:31PM UTC coverage: 56.316% (+0.2%) from 56.119%
409.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 570 relevant lines covered (56.32%)

0.56 hits per line

Source Files on job 409.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 409
  • Travis Job 409.1
  • 7ef76ba2 on github
  • Prev Job for on salt-formula-symlink-fix (#405.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