summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 21240d1477b86128869f47765d9648f089c9c4b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: "master-{build}"

os: Windows Server 2012 R2
platform:
  - x64

cache:
  - vendor/bundle
environment:
  matrix:
    - ruby_version: 25-x64

clone_folder: c:\projects\ohai
clone_depth: 1

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

skip_tags: true
branches:
  only:
    - master
    - 14-stable
    - 13-stable

install:
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - SET BUNDLE_WITHOUT=debug:docs
  - echo %PATH%
  - gem install bundler --no-document
  - bundle install --jobs 3 --retry 3
  - ruby --version
  - gem --version
  - bundler --version

build: off

test_script:
  - bundle exec rspec
  - bundle exec ohai