forked from chef/omnibus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
35 lines (29 loc) · 806 Bytes
/
appveyor.yml
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
version: "{build}"
os: Windows Server 2012
platform:
- x64
environment:
matrix:
- ruby_version: "200"
clone_folder: c:\projects\omnibus
clone_depth: 1
skip_tags: true
branches:
only:
- master
install:
- SET PATH=C:\Ruby%ruby_version%\bin;C:\Ruby21%ruby_version:~3%\Devkit\mingw\bin;%PATH%
- echo %PATH%
- ruby --version
- gem --version
- gem install bundler --quiet --no-ri --no-rdoc
- bundler --version
- cp C:\Ruby21%ruby_version:~3%\Devkit\mingw\bin\bsdtar.exe C:\Ruby21%ruby_version:~3%\Devkit\mingw\bin\tar.exe
- appveyor DownloadFile http://curl.haxx.se/ca/cacert.pem -FileName C:\cacert.pem
- set SSL_CERT_FILE=C:\cacert.pem
build_script:
- bundle install
test_script:
- bundle exec rake unit
- bundle exec rake functional
- bundle exec rake acceptance