summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-27 13:55:13 -0700
committerTim Smith <tsmith@chef.io>2018-10-31 12:35:38 -0700
commite27c837f9ac57543cc521cb0e2c593359f4ac07f (patch)
tree515788fd51a0e1c87291ae51c256fdbcfa952452
parent36b8f51ad6a745647a999c6ec5d5ebd721c11c6b (diff)
downloadchef-e27c837f9ac57543cc521cb0e2c593359f4ac07f.tar.gz
Break out appveyor
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--appveyor.yml31
1 files changed, 27 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 378574103f..e5ad88b8a3 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -5,7 +5,12 @@ platform:
- x64
cache:
-- vendor/bundle
+ - vendor/bundle
+
+configuration:
+ - integration
+ - functional
+ - unit
environment:
matrix:
@@ -41,6 +46,7 @@ install:
- SET BUNDLE_WITHOUT=server:docgen:maintenance:pry:travis:integration:ci
- bundle config --local path vendor/bundle # use the cache we define above
- bundle install || bundle install || bundle install
+ - SET SPEC_OPTS=--format progress
build: off
@@ -50,6 +56,23 @@ before_test:
- bundler --version
- bundle env
-test_script:
- - SET SPEC_OPTS=--format progress
- - bundle exec rake spec
+for:
+ -
+ matrix:
+ only:
+ - configuration: integration
+ build_script:
+ - bundle exec rake spec:integration
+ -
+ matrix:
+ only:
+ - configuration: functional
+ build_script:
+ - bundle exec rake spec:functional
+ -
+ matrix:
+ only:
+ - configuration: unit
+ build_script:
+ - bundle exec rake spec:unit
+ - bundle exec rake component_specs