summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorSeth Chisamore <schisamo@chef.io>2016-02-11 17:21:59 -0500
committerSeth Chisamore <schisamo@chef.io>2016-02-11 17:21:59 -0500
commit1d429c24ad4a5ac4b9b2367efa58c063fdc00ea9 (patch)
treea81bd426d18f8f5ab75f2f078099b1a6c03291f1 /ci
parent6ca21c9ce206f1ada1c12a02afb46e3f1625a321 (diff)
downloadchef-1d429c24ad4a5ac4b9b2367efa58c063fdc00ea9.tar.gz
Disable unit tests in later stages of CD pipelineschisamo/disable-unit
Travis/Appveyor already run the unit tests at the appropriate gate earlier in the build process. Running the tests on each platform we build a package for should give the same result and really just serves to slow the overall delivery process down.
Diffstat (limited to 'ci')
-rwxr-xr-xci/verify-chef.bat2
-rwxr-xr-xci/verify-chef.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/verify-chef.bat b/ci/verify-chef.bat
index 769d368c92..7354a91208 100755
--- a/ci/verify-chef.bat
+++ b/ci/verify-chef.bat
@@ -57,7 +57,7 @@ IF NOT EXIST "Gemfile.lock" (
IF "%PIPELINE_NAME%" == "chef-fips" (
set CHEF_FIPS=1
)
-call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/unit spec/functional
+call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/functional
REM ; Destroy everything at the end for good measure.
RMDIR /S /Q %TEMP%
diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh
index 117bf6b642..572f15ee04 100755
--- a/ci/verify-chef.sh
+++ b/ci/verify-chef.sh
@@ -111,7 +111,7 @@ else
CHEF_FIPS=1
export CHEF_FIPS
fi
- sudo env PATH=$PATH TERM=xterm CHEF_FIPS=$CHEF_FIPS bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional spec/unit
+ sudo env PATH=$PATH TERM=xterm CHEF_FIPS=$CHEF_FIPS bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional
fi
# Clean up the tmpdir at the end for good measure.