summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-06-06 21:45:21 -0700
committerTim Smith <tsmith84@gmail.com>2019-08-06 20:33:17 -0700
commitad892a9af8ca4c8fa1ccacc7352b3c5c2f0c88e1 (patch)
treefa10ce8db4d822e71d749f14e0a4900f4a4f93af
parent9d10585a0f86f7f1c5d7b30460775d0d5d755d0e (diff)
downloadmixlib-authentication-ad892a9af8ca4c8fa1ccacc7352b3c5c2f0c88e1.tar.gz
Use the standard appveyor config
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--Gemfile6
-rw-r--r--appveyor.yml31
2 files changed, 20 insertions, 17 deletions
diff --git a/Gemfile b/Gemfile
index 4f80896..0762ba2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -3,9 +3,9 @@ source "https://rubygems.org"
gemspec
group :docs do
- gem "yard"
- gem "redcarpet"
gem "github-markup"
+ gem "redcarpet"
+ gem "yard"
end
group :test do
@@ -18,7 +18,7 @@ group :test do
gem "net-ssh"
end
-group :development do
+group :debug do
gem "pry"
gem "pry-byebug"
gem "pry-stack_explorer"
diff --git a/appveyor.yml b/appveyor.yml
index 86331cf..6beccae 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -13,31 +13,34 @@ environment:
- ruby_version: "25-x64"
- ruby_version: "26-x64"
+clone_folder: c:\projects\mixlib-authentication
clone_depth: 1
skip_tags: true
-skip_branch_with_pr: true
branches:
only:
- master
+skip_commits:
+ # version bumps by Expeditor happen as a separate commit after the merge, we can skip
+ author: Chef Expeditor
+ # if ONLY the files listed below are changed in a commit, skip
+ files:
+ - MAINTAINERS.md
+ - MAINTAINERS.toml
+ - CHANGELOG.md
+ - RELEASE_NOTES.md
+
install:
- - systeminfo
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- echo %PATH%
- - appveyor DownloadFile http://curl.haxx.se/ca/cacert.pem -FileName C:\cacert.pem
- - set SSL_CERT_FILE=C:\cacert.pem
- - 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
-
-build: off
-
-before_test:
- ruby --version
+ - gem update --system
- gem --version
+ - gem install bundler --quiet --no-document
- bundler --version
- - bundle env
+
+build_script:
+ - bundle install --jobs=7 --retry=3 --without docs debug
test_script:
- - SET SPEC_OPTS=--format progress
- - bundle exec rake
+ - bundle exec rspec