forked from bcrypt-ruby/bcrypt-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (44 loc) · 1.34 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
###############################################################################
#
# This AppVeyor config is *NOT* for running the tests on Windows.
#
# This is to ensure that the latest version of the bcrypt gem can be installed
# on Windows across all of the currently supported versions of Ruby.
#
###############################################################################
version: "{branch}-{build}"
build: off
clone_depth: 1
init:
# Install Ruby 1.8.7
- if %RUBY_VERSION%==187 (
appveyor DownloadFile https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-1.8.7-p374.exe -FileName C:\ruby_187.exe &
C:\ruby_187.exe /verysilent /dir=C:\Ruby%RUBY_VERSION%
)
environment:
matrix:
- RUBY_VERSION: "187"
- RUBY_VERSION: "193"
- RUBY_VERSION: "200"
- RUBY_VERSION: "200-x64"
- RUBY_VERSION: "21"
- RUBY_VERSION: "21-x64"
- RUBY_VERSION: "22"
- RUBY_VERSION: "22-x64"
- RUBY_VERSION: "23"
- RUBY_VERSION: "23-x64"
- RUBY_VERSION: "24"
- RUBY_VERSION: "24-x64"
- RUBY_VERSION: "25"
- RUBY_VERSION: "25-x64"
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- if %RUBY_VERSION%==187 (
gem update --system 2.0.17
)
before_test:
- ruby -v
- gem -v
test_script:
- gem install bcrypt --prerelease --no-ri --no-rdoc
- ruby -e "require 'rubygems'; require 'bcrypt'"