blob: 0fe7302bc43bd8d2ed73fd8dd6edbc79e8d0df2b (
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
48
49
50
51
52
53
54
55
56
|
version: '{build}'
skip_tags: true
environment:
matrix:
- ruby_version: "jruby-9.1.2.0"
- ruby_version: "23"
- ruby_version: "23-x64"
- ruby_version: "22-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 --allow-empty-checksums )
- 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 --user-install -v 1.16
- SET BUNDLE_GEMFILE=Gemfile.norbnacl
- bundle install --retry=3
- cinst freesshd
- cinst putty --allow-empty-checksums
- ps: |
if ($env:Processor_Architecture -eq "x86")
{
dir 'C:\Program Files\'
dir 'C:\Program Files\freeSSHd'
cp 'test\win_integration\FreeSSHDService.ini' 'C:\Program Files\freeSSHd\FreeSSHDService.ini'
& 'C:\Program Files\freeSSHd\FreeSSHDService.exe'
} else {
dir 'C:\Program Files (x86)\'
dir 'C:\Program Files (x86)\freeSSHd'
cp 'test\win_integration\FreeSSHDService32.ini' 'C:\Program Files (x86)\freeSSHd\FreeSSHDService.ini'
& 'C:\Program Files (x86)\freeSSHd\FreeSSHDService.exe'
}
test_script:
- SET BUNDLE_GEMFILE=Gemfile.norbnacl
- SET NET_SSH_RUN_WIN_INTEGRATION_TESTS=YES
- bundle exec rake test
build: off
|