summaryrefslogtreecommitdiff
path: root/tasks/bin/run_chef_tests
blob: 567c6a95870d7af4a9c3591998a6e5187509a851 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# 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;
sudo -E $(which bundle) exec rake spec;
bundle exec rake style;
bundle exec bundle-audit check --update;