diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-20 10:40:03 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-20 10:40:03 -0800 |
commit | 3533dcb85c2698bc45166d9009fdc577385cd6ce (patch) | |
tree | 96f1cb488e561845a7c7644cacc2ae04e15d99f5 /.travis.yml | |
parent | 8cdd87b19f9b2431189fbd661ede7dc6ac421d51 (diff) | |
download | chef-3533dcb85c2698bc45166d9009fdc577385cd6ce.tar.gz |
Break out unit/integration/functional tests in travis and test chef-config
Add the chef-config unit tests to the unit testing group
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 1c8724b44f..fd8f8d33f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,15 +31,45 @@ env: matrix: include: - - rvm: 2.3.5 + - env: + INTEGRATION_SPECS_23: 1 + rvm: 2.3.5 sudo: true - script: sudo -E $(which bundle) exec rake spec; - # also remove integration / external tests + script: sudo -E $(which bundle) exec rake spec:integration; bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen - - rvm: 2.4.2 + - env: + INTEGRATION_SPECS_24: 1 + rvm: 2.4.2 sudo: true - script: sudo -E $(which bundle) exec rake spec; - # also remove integration / external tests + script: sudo -E $(which bundle) exec rake spec:integration; + bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen + - env: + FUNCTIONAL_SPECS_23: 1 + rvm: 2.3.5 + sudo: true + script: sudo -E $(which bundle) exec rake spec:functional; + bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen + - env: + FUNCTIONAL_SPECS_24: 1 + rvm: 2.4.2 + sudo: true + script: sudo -E $(which bundle) exec rake spec:functional; + bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen + - env: + UNIT_SPECS_23: 1 + rvm: 2.3.5 + sudo: true + script: + - sudo -E $(which bundle) exec rake spec:unit; + - sudo -E $(which bundle) exec rake component_specs + bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen + - env: + UNIT_SPECS_24: 1 + rvm: 2.4.2 + sudo: true + script: + - sudo -E $(which bundle) exec rake spec:unit; + - sudo -E $(which bundle) exec rake component_specs bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen - env: CHEFSTYLE: 1 |