-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathappveyor.yml
82 lines (74 loc) · 1.85 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
image: Visual Studio 2015
version: "{build}"
cache:
- vendor/bundle
environment:
matrix:
- RUBY_VERSION: 25-x64
RAILS: 4_2
SQL: MSSQL$SQL2012SP1
- RUBY_VERSION: 25-x64
RAILS: 4_2
SQL: MSSQL$SQL2014
- RUBY_VERSION: 25-x64
RAILS: 4_2
SQL: MSSQL$SQL2016
- RUBY_VERSION: 25-x64
RAILS: 5_2
SQL: MSSQL$SQL2012SP1
- RUBY_VERSION: 25-x64
RAILS: 5_2
SQL: MSSQL$SQL2014
- RUBY_VERSION: 25-x64
RAILS: 5_2
SQL: MSSQL$SQL2016
- RUBY_VERSION: 25-x64
RAILS: 6
SQL: MSSQL$SQL2012SP1
- RUBY_VERSION: 25-x64
RAILS: 6
SQL: MSSQL$SQL2014
- RUBY_VERSION: 25-x64
RAILS: 6
SQL: MSSQL$SQL2016
- RUBY_VERSION: 25-x64
RAILS: 6_1
SQL: MSSQL$SQL2012SP1
- RUBY_VERSION: 25-x64
RAILS: 6_1
SQL: MSSQL$SQL2014
- RUBY_VERSION: 25-x64
RAILS: 6_1
SQL: MSSQL$SQL2016
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- gem update --system
- gem install rubygems-update && update_rubygems
- bundle config --local path vendor/bundle
- cp ./gemfiles/rails%RAILS%.gemfile ./Gemfile
- bundle config set gemfile ./gemfiles/rails%RAILS%.gemfile
- bundle install
build: off
before_test:
- ruby -v
- gem -v
- bundle -v
test_script:
- ps: Get-Service '*SQL*'
- net start %SQL%
- bundle exec rake test:mssql
for:
-
matrix:
except:
- RAILS: 5_2
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- cp ./gemspecs/arel_extensions-v2.gemspec ./arel_extensions.gemspec
- cp ./version_v2.rb lib/arel_extensions/version.rb
- cp ./gemfiles/rails%RAILS%.gemfile ./Gemfile
- gem update --system
- gem install rubygems-update && update_rubygems
- bundle config --local path vendor/bundle
- bundle config set gemfile ./gemfiles/rails%RAILS%.gemfile
- bundle install