forked from rsim/oracle-enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (52 loc) · 1.4 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
os: linux
dist: focal
cache: bundler
env:
global:
- ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
- ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
- TNS_ADMIN=$ORACLE_HOME/network/admin
- NLS_LANG=AMERICAN_AMERICA.AL32UTF8
- ORACLE_BASE=/u01/app/oracle
- LD_LIBRARY_PATH=$ORACLE_HOME/lib
- PATH=$PATH:$ORACLE_HOME/jdbc/lib
- DATABASE_VERSION=11.2.0.1
- ORACLE_SID=XE
- DATABASE_NAME=XE
- ORA_SDTZ='Europe/Riga' # Needed as a client parameter
- TZ='Europe/Riga' # Needed as a DB Server parameter
- "JRUBY_OPTS='--debug --dev -J-Xmx1024M'"
before_install:
- chmod +x .travis/oracle/download.sh
- chmod +x .travis/oracle/install.sh
- chmod +x .travis/setup_accounts.sh
install:
- .travis/oracle/download.sh
- .travis/oracle/install.sh
- .travis/setup_accounts.sh
- ruby -v
- gem update --system
- bundle install
script:
- bundle exec rake spec
- rm Gemfile.lock
- cd guides/bug_report_templates
- ruby active_record_gem.rb
- ruby active_record_gem_spec.rb
language: ruby
rvm:
- 3.1.1
- 3.0.3
- 2.7.5
- ruby-head
# Rails 7.0 requires Ruby 2.7 or higeher.
# CI pending until JRuby 9.4 that supports Ruby 2.7 will be released.
# https://github.com/jruby/jruby/issues/6464
# - jruby-9.4.0
# - jruby-head
# matrix:
# allow_failures:
# - rvm: jruby-9.4.0
# - rvm: jruby-head
notifications:
email: false