summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-04-28 17:42:57 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-04-28 17:43:34 -0700
commiteaf5accfda1314f40468d6f8af36305b01ba61dc (patch)
tree5d32bd3b9260c4ac79f2f3fa26caa36f232c23a0 /.travis.yml
parent4ad6a60f80d3a191f64382fb53a77fe662538759 (diff)
downloadchef-eaf5accfda1314f40468d6f8af36305b01ba61dc.tar.gz
give bundle audit its own run
and extract most config back out into .travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index f74f427185..d120937c61 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,11 @@ before_install:
bundler_args: --without changelog development docgen guard maintenance omnibus_package tools aix bsd mac_os_x solaris windows --frozen
+before_script:
+ - echo --color > .rspec
+ - echo -fp >> .rspec
+ - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers;
+
# do not run expensive spec tests on PRs, only on branches
branches:
only:
@@ -36,6 +41,10 @@ matrix:
CHEFSTYLE: 1
rvm: 2.1
script: bundle exec rake style
+ - env:
+ AUDIT_CHECK: 1
+ rvm: 2.1
+ script: bundle exec bundle-audit check --update
- rvm: rbx
sudo: true
script: tasks/bin/run_chef_tests