diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-04-28 17:42:57 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-04-28 17:43:34 -0700 |
commit | eaf5accfda1314f40468d6f8af36305b01ba61dc (patch) | |
tree | 5d32bd3b9260c4ac79f2f3fa26caa36f232c23a0 /tasks | |
parent | 4ad6a60f80d3a191f64382fb53a77fe662538759 (diff) | |
download | chef-eaf5accfda1314f40468d6f8af36305b01ba61dc.tar.gz |
give bundle audit its own run
and extract most config back out into .travis.yml
Diffstat (limited to 'tasks')
-rwxr-xr-x | tasks/bin/run_chef_tests | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tasks/bin/run_chef_tests b/tasks/bin/run_chef_tests index a128e59aec..363086e688 100755 --- a/tasks/bin/run_chef_tests +++ b/tasks/bin/run_chef_tests @@ -3,14 +3,4 @@ # Fail fast (e) and echo commands (vx) set -evx -echo --color > .rspec -echo -fp >> .rspec - -sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers; -# If we have any args, just run the given command -if [ -n "$1" ]; then - sudo -E $(which bundle) exec $@; -else - sudo -E $(which bundle) exec rake spec; - bundle exec bundle-audit check --update; -fi +sudo -E $(which bundle) exec rake spec; |