summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-08-30 00:37:16 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-08-30 00:37:16 +0000
commit6501dd7163854d84d35b15d905da34d837f0ce14 (patch)
tree41f8d8dc309f20ed0b25c348bac9569781454b61 /.travis.yml
parent70c61810e41f4b757f9e09caaa6f6705050015ff (diff)
downloadredmine-6501dd7163854d84d35b15d905da34d837f0ce14.tar.gz
redmine-6501dd7163854d84d35b15d905da34d837f0ce14.zip
trunk: merge r14527 from 2.6-stable
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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e90a5a011..ca31ef7cb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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