-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
53 lines (46 loc) · 1.36 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '{build}'
branches:
only:
- master
skip_tags: true
clone_depth: 10
environment:
matrix:
- ruby_version: 200
ruby_dir: 2.0.0
- ruby_version: 200-x64
ruby_dir: 2.0.0
- ruby_version: 21
ruby_dir: 2.1.0
- ruby_version: 21-x64
ruby_dir: 2.1.0
- ruby_version: 22
ruby_dir: 2.2.0
- ruby_version: 22-x64
ruby_dir: 2.2.0
- ruby_version: 23
ruby_dir: 2.3.0
- ruby_version: 23-x64
ruby_dir: 2.3.0
install:
- ps: >-
$env:path = "C:\Ruby" + $env:ruby_version + "\bin;" + $env:path
$tpath = "C:\Ruby" + $env:ruby_version + "\lib\ruby\" + $env:ruby_dir + "\test"
if ((test-path $tpath) -eq $True){ rm -recurse -force $tpath }
gem update --system > $null
if ((gem query -i ffi) -eq $False){ gem install ffi --no-document }
if ((gem query -i test-unit -v ">= 3.0") -eq $False){ gem install test-unit --no-document }
if ((gem query -i sys-admin) -eq $False){ gem install sys-admin --no-document }
if ((gem query -i win32-security) -eq $False){ gem install win32-security --no-document }
cache:
- C:\Ruby200\lib\ruby\gems\2.0.0
- C:\Ruby200-x64\lib\ruby\gems\2.0.0
- C:\Ruby21\lib\ruby\gems\2.1.0
- C:\Ruby21-x64\lib\ruby\gems\2.1.0
- C:\Ruby22\lib\ruby\gems\2.2.0
- C:\Ruby22-x64\lib\ruby\gems\2.2.0
- C:\Ruby23\lib\ruby\gems\2.3.0
- C:\Ruby23-x64\lib\ruby\gems\2.3.0
build: off
test_script:
- cmd: rake