forked from net-ssh/net-ssh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
43 lines (32 loc) · 1.14 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
version: '{build}'
skip_tags: true
environment:
matrix:
- ruby_version: "jruby-9.1.2.0"
- ruby_version: "23"
- ruby_version: "23-x64"
matrix:
allow_failures:
- ruby_version: "jruby-9.1.2.0"
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
platform:
- x86
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- if "%ruby_version%" == "jruby-9.1.2.0" ( cinst javaruntime -i )
- if "%ruby_version%" == "jruby-9.1.2.0" ( cinst jruby --version 9.1.2.0 -i )
- if "%ruby_version%" == "jruby-9.1.2.0" ( SET "PATH=C:\jruby-9.1.2.0\bin\;%PATH%" )
- ruby --version
- gem install bundler --no-document -v 1.13.5
- SET BUNDLE_GEMFILE=Gemfile.norbnacl
- bundle _1.13.5_ install --retry=3
- cinst freesshd
- cinst putty
test_script:
- SET BUNDLE_GEMFILE=Gemfile.norbnacl
- SET NET_SSH_RUN_WIN_INTEGRATION_TESTS=YES
- bundle _1.13.5_ exec rake test
build: off