From efeda6444273b7f010575188762087c4564a603b Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 6 Jun 2019 21:45:21 -0700 Subject: Use the standard appveyor config Signed-off-by: Tim Smith --- Gemfile | 6 +++--- appveyor.yml | 31 +++++++++++++++++-------------- 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 -- cgit v1.2.1