Skip to content

Commit f2295ce

Browse files
committed
[travis-ci] try to not mess with RG installation on 9K + adjust for sanity
1 parent 7951186 commit f2295ce

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.travis.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ gemfile:
2828
##- JRUBY_OPTS="--1.8 $JRUBY_OPTS"
2929
#- JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION" # for mvn's jruby plugins
3030
before_script:
31-
- export JRUBY_OPTS="--server -Xcext.enabled=false -Xcompile.invokedynamic=false -J-XX:MaxPermSize=128m"
32-
#- export JRUBY_VERSION="1.7.16"
31+
- export JRUBY_OPTS="-Xcompile.invokedynamic=false -J-XX:MaxPermSize=96M"
3332
before_install:
3433
# NOTE: RubyGems 2.4.x fails us at application_spec's gem_install_rack_unless_installed !
35-
- (jruby --1.9 -S gem update --system 2.2.3) || true
34+
- ((jruby -v | grep -v 9.[0-9].[0-9].[0-9]) && jruby --1.9 -S gem update --system 2.2.3) || true
3635
- ((jruby -v | grep 1.8.7) && jruby --1.9 -S gem update --system 2.1.11) || true
3736
- ((echo $BUNDLE_GEMFILE | grep rails23) && jruby --1.9 -S gem update --system 1.8.29) || true
3837
matrix:
@@ -74,10 +73,6 @@ matrix:
7473
gemfile: gemfiles/railsNG.gemfile
7574
jdk: oraclejdk8
7675
## rails 2.3 --1.8
77-
- rvm: jruby-1.7.4
78-
gemfile: gemfiles/rails23.gemfile
79-
env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
80-
jdk: openjdk6
8176
- rvm: jruby-1.7.4
8277
gemfile: gemfiles/rails23.gemfile
8378
env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
@@ -95,9 +90,9 @@ matrix:
9590
gemfile: gemfiles/rails31.gemfile
9691
env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
9792
jdk: oraclejdk7
98-
- rvm: jruby-1.7.4
99-
gemfile: gemfiles/rails31.gemfile
100-
env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
93+
- rvm: jruby-1.7.26
94+
gemfile: gemfiles/rails32.gemfile
95+
env: JRUBY_OPTS="--2.0 $JRUBY_OPTS"
10196
jdk: oraclejdk8
10297
exclude:
10398
# ## avoid jruby-9K with JDK6 :

0 commit comments

Comments
 (0)