summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-10-29 10:01:01 -0700
committerGitHub <noreply@github.com>2018-10-29 10:01:01 -0700
commitc2e27803945548da257b4b27e16591d6c2c3522c (patch)
treeddd3c977c34a765a7025ddad2f98e82a9001ff69
parent1b47e7d0b755a46e18cb7d68cd0f98fc52fa5d15 (diff)
parent10e6df6a74b8cc6ec328114687eb32329ea95f0b (diff)
downloadchef-c2e27803945548da257b4b27e16591d6c2c3522c.tar.gz
Merge pull request #7800 from chef/appveyor
Break out appveyor tests
-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