-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
61 lines (61 loc) · 2.69 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
language: ruby
sudo: false
jdk:
- openjdk7
- oraclejdk8
rvm:
- jruby-1.7.25
before_install:
- unset _JAVA_OPTIONS
- export AR_JDBC_VERSION="~> 1.3.24" # due the 50.0 release mess -> not specifying AR ~> 5.0
before_script:
- export JAVA_OPTS="$JAVA_OPTS" # -Xmx600M
- 'echo "JAVA_OPTS: $JAVA_OPTS"'
- export JRUBY_OPTS="--server -Xcompile.invokedynamic=false"
- 'echo "JRUBY_OPTS: $JRUBY_OPTS"'
script:
- jruby -rbundler/setup -S rake tomcat:jndi:download tomcat:jdbc:download tomcat:dbcp:download
- jruby -rbundler/setup -S rake c3p0:download hikari:download dbcp:download
- jruby -rbundler/setup -S rake db:create:mysql db:create:postgresql
env:
- JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 4.1.13" HIKARI_VERSION="2.3.12"
- JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=postgresql AR_VERSION="~> 4.1.13" HIKARI_VERSION="2.3.2-java6"
- JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 4.1.13" HIKARI_VERSION="2.0.1-java6"
- JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=postgresql AR_VERSION="~> 3.2.18" HIKARI_VERSION="1.4.0"
- JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 4.2.8" HIKARI_VERSION="2.2.5-java6"
matrix:
#allow_failures:
#- rvm: jruby-head
exclude:
- rvm: jruby-9.1.16.0
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="4.2.8" HIKARI_VERSION="2.3.12"
jdk: openjdk7
- rvm: jruby-9.1.16.0
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=postgresql AR_VERSION="4.2.8" HIKARI_VERSION="2.3.2-java6"
jdk: oraclejdk8
- rvm: jruby-1.7.25
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 4.1.16" HIKARI_VERSION="2.0.1-java6"
jdk: oraclejdk8
- rvm: jruby-1.7.25
env: JRUBY_OPTS="--1.8 $JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 3.2.18" HIKARI_VERSION="2.2.5-java6"
jdk: oraclejdk8
include:
- rvm: jruby-9.0.5.0
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 4.1.13" HIKARI_VERSION="2.2.5-java6"
jdk: openjdk7
- rvm: jruby-9.1.8.0
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 3.2.18" HIKARI_VERSION="2.3.9"
jdk: oraclejdk8
# AR 4.2
- rvm: jruby-1.7.27
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 4.1.13" HIKARI_VERSION="2.2.5-java6"
jdk: openjdk7
- rvm: jruby-9.1.16.0
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=mysql AR_VERSION="~> 4.2.8" HIKARI_VERSION="2.3.12"
jdk: oraclejdk8
- rvm: jruby-9.1.16.0
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=postgresql AR_VERSION="~> 4.2.8" HIKARI_VERSION="2.2.5-java6"
jdk: oraclejdk8
- rvm: jruby-9.1.16.0
env: JRUBY_OPTS="$JRUBY_OPTS" AR_ADAPTER=postgresql AR_VERSION="~> 4.1.13" HIKARI_VERSION="2.3.12"
jdk: openjdk7