Skip to content

Commit 6299be6

Browse files
committed
Update Appveyor-CI
- Add Ruby-head version - Remove outdated ruby versions - Decrease number of ruby versions, so that tests run faster - Run all tests, even when a test fails - Make use of Appveyors dual core CPUs
1 parent ab25833 commit 6299be6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

appveyor.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
init:
22
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
3-
- SET PATH=C:\MinGW\msys\1.0\bin;%PATH%
43
- SET RAKEOPT=-rdevkit
54
- SET TESTOPTS='-v'
6-
- SET MAKE=make V=1
5+
- SET MAKE=make V=1 -j2
76
clone_depth: 5
87
skip_tags: true
98
skip_branch_with_pr: true
109
matrix:
11-
fast_finish: true
10+
fast_finish: false
1211
install:
1312
# Output debugging info
1413
- ps: Update-AppveyorBuild -Version "$(Get-Content $env:appveyor_build_folder\VERSION).$env:appveyor_build_number"
14+
- ps: |
15+
if ($env:ruby_version -like "*head*") {
16+
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-$env:ruby_version.exe", "$pwd/ruby-setup.exe")
17+
cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
18+
}
1519
- perl --version
1620
- ruby --version
1721
- gem --version
@@ -43,13 +47,9 @@ environment:
4347
TINYTDS_UNIT_AZURE_PASS:
4448
secure: fYKSKV4v+36OFQp2nZdX4DfUpgmy5cm0wuR73cgdmEk=
4549
matrix:
46-
- ruby_version: "23-x64"
47-
- ruby_version: "23"
48-
- ruby_version: "24-x64"
4950
- ruby_version: "24"
5051
- ruby_version: "25-x64"
51-
- ruby_version: "25"
52-
- ruby_version: "26-x64"
5352
- ruby_version: "26"
53+
- ruby_version: "head-x64"
5454
on_failure:
5555
- find -name compile.log | xargs cat

0 commit comments

Comments
 (0)