forked from Faveod/arel-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
191 lines (191 loc) · 4.83 KB
/
.travis.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
language: ruby
sudo: required
dist: trusty
cache:
bundler: true
directories:
- $ORACLE_HOME
before_install:
- chmod +x .travis/sqlite3/extension-functions.sh
# - chmod +x .travis/oracle/download.sh
# - chmod +x .travis/oracle/install.sh
# - chmod +x .travis/setup_accounts.sh
- sudo apt-get install -y sqlite3-pcre curl
- .travis/sqlite3/extension-functions.sh
# - .travis/oracle/download.sh
# - sh -ex .travis/oracle/install.sh
# - .travis/setup_accounts.sh
install:
- bundle install
gemfile:
- gemfiles/rails4.gemfile
- gemfiles/rails5_0.gemfile
- gemfiles/rails5_1_4.gemfile
- gemfiles/rails5_2.gemfile
- gemfiles/rails6.gemfile
services:
- mysql
- postgresql
addons:
postgresql: '9.4'
before_script:
- mysql -e 'create database arext_test;'
- psql -c 'create database arext_test;' -U postgres
script:
- ./generate_gems.sh
- bundle exec rake test
- bundle exec rake test:sqlite
- bundle exec rake test:mysql
- bundle exec rake test:postgresql
#- bundle exec rake test:oracle # service unavailable
env:
global:
- JRUBY_OPTS='--dev -J-Xmx1024M'
# - ORACLE_COOKIE=sqldev
# - ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
# - ORACLE_OJDBC_URL=http://download.oracle.com/otn/utilities_drivers/jdbc/11204/ojdbc6.jar
- TNS_ADMIN=$ORACLE_HOME/network/admin
# - ORACLE_BASE=/u01/app/oracle
# - ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
# - ORACLE_SID=XE
- DATABASE_NAME=XE
- NLS_LANG=AMERICAN_AMERICA.AL32UTF8
- secure: 0RUuF4l0e3J8UIIMlgb8x/aYy2pH6Wb+EWylOr2W1EQechivoFw6IEYD1EZWIOZ/uNpkQ2h/urbUqW3/HpKhZn+NYP2sQI41Xyu1TD+6HPWAHpEvLzemhQSJV6eIeLRQoVDLUmqF23nUZDtKQAwOOyJVMeqHMahJi5K7N/cfQmifs2QcBnMxPnANIcrSXxOCBoqCl6BERG9JTeKERG/lWG1I9vRIe9ISNyOPUQVVI6SfTJwhJP5NLkxSJG1q2PLPK7p6zQ684sS4zSnS5oV23yDsQWWIwxk78CVu1jnFBu8Qq3ngWsInlkHrPotjtaxmTxM8JQd4fgE5NMO2Pjnj8w7zg+sbl+3OVtareX+M9+OLdUD5xBQhecPpzflMqib2qZ0fr9tdoT8kAZJTiXtQrptZfaXleZlH74l2dO/PYxkoWMusYQnSbQl0G3AoyYH+l7YpefL4arm0s5IIiOK+ZiCoZ14pl26rYAA1iPUe5AT+hecKi+fwqhyFE7fMX+zC+AvzsQL8jrP0CXL/hmPkoFYxvcDgUoYhvOq+mmQHdOfU7ny4hH5z5d9691qceduHFvF7fNZ4pSofj03eGqfTTk+SDNeZIo6NXNlayayjV2L/DxL6d7vetxkWwipx47PI76gBAqJlxgODJuzoOtyQkPyIVsDlzI1UPoS+UbrU51w=
rvm:
- 2.0.0
- 2.1
- 2.2.5
- 2.3.1
- 2.4.0
- 2.5.0
- 2.7.1
- jruby-9.0.5.0
- jruby-9.2.11.1
- jruby-head
jdk:
- oraclejdk8
- oraclejdk9
- openjdk10
- openjdk11
- oraclejdk11
matrix:
fast_finish: true
exclude:
- rvm: 2.0.0
jdk: oraclejdk9
- rvm: 2.1
jdk: oraclejdk9
- rvm: 2.2.5
jdk: oraclejdk9
- rvm: 2.3.1
jdk: oraclejdk9
- rvm: 2.4.0
jdk: oraclejdk9
- rvm: 2.5.0
jdk: oraclejdk9
- rvm: 2.7.1
jdk: oraclejdk9
- rvm: 2.0.0
jdk: openjdk10
- rvm: 2.1
jdk: openjdk10
- rvm: 2.2.5
jdk: openjdk10
- rvm: 2.3.1
jdk: openjdk10
- rvm: 2.4.0
jdk: openjdk10
- rvm: 2.5.0
jdk: openjdk10
- rvm: 2.7.1
jdk: openjdk10
- rvm: 2.0.0
jdk: oraclejdk11
- rvm: 2.1
jdk: oraclejdk11
- rvm: 2.2.5
jdk: oraclejdk11
- rvm: 2.3.1
jdk: oraclejdk11
- rvm: 2.4.0
jdk: oraclejdk11
- rvm: 2.5.0
jdk: oraclejdk11
- rvm: 2.7.1
jdk: oraclejdk11
- rvm: 2.0.0
jdk: openjdk11
- rvm: 2.1
jdk: openjdk11
- rvm: 2.2.5
jdk: openjdk11
- rvm: 2.3.1
jdk: openjdk11
- rvm: 2.4.0
jdk: openjdk11
- rvm: 2.5.0
jdk: openjdk11
- rvm: 2.7.1
jdk: openjdk11
- rvm: 2.7.1
gemfile: gemfiles/rails4.gemfile
- rvm : jruby-9.2.11.1
gemfile: gemfiles/rails4.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails5_0.gemfile
- rvm: 2.1
gemfile: gemfiles/rails5_0.gemfile
- rvm: 2.7.1
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails5_1_4.gemfile
- rvm: 2.1
gemfile: gemfiles/rails5_1_4.gemfile
- rvm: 2.2.5
gemfile: gemfiles/rails5_1_4.gemfile
- rvm: 2.7.1
gemfile: gemfiles/rails5.1.4.gemfile
- rvm: 2.7.1
gemfile: gemfiles/rails5.1.4.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails5_2.gemfile
- rvm: 2.1
gemfile: gemfiles/rails5_2.gemfile
- rvm: 2.2.5
gemfile: gemfiles/rails5_2.gemfile
- rvm: 2.7.1
gemfile: gemfiles/rails5.2.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails6.gemfile
- rvm: 2.1
gemfile: gemfiles/rails6.gemfile
- rvm: 2.2.5
gemfile: gemfiles/rails6.gemfile
- rvm: 2.3.1
gemfile: gemfiles/rails6.gemfile
- rvm: 2.4.0
gemfile: gemfiles/rails6.gemfile
allow_failures:
- rvm: jruby-9.0.5.0
gemfile: gemfiles/rails5_1_4.gemfile
- rvm: jruby-9.0.5.0
gemfile: gemfiles/rails5_2.gemfile
- rvm: jruby-9.2.11.1
jdk: oraclejdk9
gemfile: gemfiles/rails5_2.gemfile
- jdk: oraclejdk9
- jdk: openjdk10
- jdk: openjdk11
- jdk: oraclejdk11
- rvm: jruby-head
- rvm: jruby-9.2.11.1
jdk: oraclejdk9
- rvm: jruby-9.0.5.0
jdk: oraclejdk9
- rvm: 2.7.1
- gemfile: gemfiles/rails6.gemfile
bundler_args: "--jobs 3 --retry 2"
notifications:
email: