]> source.dussan.org Git - redmine.git/commitdiff
trunk: merge r14527 from 2.6-stable
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 30 Aug 2015 00:37:16 +0000 (00:37 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 30 Aug 2015 00:37:16 +0000 (00:37 +0000)
travis: add jruby 9000

refer:
https://github.com/travis-ci/travis-ci/issues/4720

git-svn-id: http://svn.redmine.org/redmine/trunk@14528 e93f8b46-1217-0410-a6f0-8f06a7374b81

.travis.yml

index e90a5a011ad92c2a3b41608f8662cd665f279608..ca31ef7cb463e15e8cdf45a4c706c85e74c6e01e 100644 (file)
@@ -7,6 +7,7 @@ rvm:
   - 2.0
   - 2.1
   - 2.2
+  - jruby-9.0.0.0
   - jruby
 env:
   - "SUITE=units       DB=postgresql"
@@ -61,6 +62,13 @@ matrix:
     - env: "SUITE=units       DB=mariadb-5.5"
     - env: "SUITE=units       DB=mariadb-10.0"
 before_install:
+  # https://github.com/travis-ci/travis-ci/issues/4720
+  - if [[ ${TRAVIS_RUBY_VERSION} =~ jruby-9\.0 ]] ;
+    then
+      rvm get master ;
+      rvm use ${TRAVIS_RUBY_VERSION} --install ;
+      ruby --version ;
+    fi
   - "sudo apt-get update -qq"
   - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion"
   - dpkg -l *mysql*
@@ -101,6 +109,6 @@ script:
   - "bundle install"
   - "bundle exec rake ci:setup"
   - phantomjs --webdriver 4444 &
-  - JRUBY_OPTS=-J-Xmx1024m bundle exec rake test:${SUITE}
+  - JRUBY_OPTS='-J-Xmx1024m -J-XX:MaxPermSize=1024m' bundle exec rake test:${SUITE}
 notifications:
   email: false