summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 78303d7591..cd91884f68 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,8 @@ branches:
# do not run expensive spec tests on PRs, only on branches
script: "
+set -e;
+bundle exec rake style;
echo '--color\n-fp' > .rspec;
sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers;
sudo -E $(which bundle) exec rake spec;
@@ -50,6 +52,9 @@ matrix:
- rvm: 2.2
env: "GEMFILE_MOD=\"gem 'chef-sugar'\""
script: bundle exec rake chef_sugar_spec
+ - rvm: 2.2
+ env: "GEMFILE_MOD=\"gem 'knife-windows', github: 'chef/knife-windows'\""
+ script: bundle exec rake knife_windows_spec
# Requires vagrant
# - rvm: 2.2
# cache: