##// END OF EJS Templates
2.6-stable: add Ruby 2.2 to .travis.yml (#19652)...
Toshi MARUYAMA -
r13939:c6f0a04eefee
parent child
Show More
@@ -1,42 +1,43
1 # Redmine runs tests on own continuous integration server.
1 # Redmine runs tests on own continuous integration server.
2 # http://www.redmine.org/projects/redmine/wiki/Continuous_integration
2 # http://www.redmine.org/projects/redmine/wiki/Continuous_integration
3 # You can also run tests on your environment.
3 # You can also run tests on your environment.
4 language: ruby
4 language: ruby
5 rvm:
5 rvm:
6 - 1.8.7
6 - 1.8.7
7 - 1.9.2
7 - 1.9.2
8 - 1.9.3
8 - 1.9.3
9 - 2.0
9 - 2.0
10 - 2.1
10 - 2.1
11 - 2.2
11 - jruby
12 - jruby
12 env:
13 env:
13 - "SUITE=units DB=postgresql"
14 - "SUITE=units DB=postgresql"
14 - "SUITE=functionals DB=postgresql"
15 - "SUITE=functionals DB=postgresql"
15 - "SUITE=integration DB=postgresql"
16 - "SUITE=integration DB=postgresql"
16 - "SUITE=units DB=mysql"
17 - "SUITE=units DB=mysql"
17 - "SUITE=functionals DB=mysql"
18 - "SUITE=functionals DB=mysql"
18 - "SUITE=integration DB=mysql"
19 - "SUITE=integration DB=mysql"
19 - "SUITE=units DB=sqlite3"
20 - "SUITE=units DB=sqlite3"
20 - "SUITE=functionals DB=sqlite3"
21 - "SUITE=functionals DB=sqlite3"
21 - "SUITE=integration DB=sqlite3"
22 - "SUITE=integration DB=sqlite3"
22 matrix:
23 matrix:
23 allow_failures:
24 allow_failures:
24 # SCM tests fail randomly due to IO.popen().
25 # SCM tests fail randomly due to IO.popen().
25 # http://www.redmine.org/issues/19091
26 # http://www.redmine.org/issues/19091
26 # https://github.com/jruby/jruby/issues/779
27 # https://github.com/jruby/jruby/issues/779
27 - rvm: jruby
28 - rvm: jruby
28 before_install:
29 before_install:
29 - "sudo apt-get update -qq"
30 - "sudo apt-get update -qq"
30 - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion"
31 - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion"
31 script:
32 script:
32 - export DATABASE_ADAPTER=${DB}
33 - export DATABASE_ADAPTER=${DB}
33 - "SCMS=bazaar,cvs,subversion,git,mercurial,filesystem"
34 - "SCMS=bazaar,cvs,subversion,git,mercurial,filesystem"
34 - "export SCMS"
35 - "export SCMS"
35 - "git --version"
36 - "git --version"
36 - "bundle install"
37 - "bundle install"
37 - "RUN_ON_NOT_OFFICIAL='' RUBY_VER=1.9 BRANCH=trunk bundle exec rake config/database.yml"
38 - "RUN_ON_NOT_OFFICIAL='' RUBY_VER=1.9 BRANCH=trunk bundle exec rake config/database.yml"
38 - "bundle install"
39 - "bundle install"
39 - export TEST_SUITE=${SUITE}
40 - export TEST_SUITE=${SUITE}
40 - "JRUBY_OPTS=-J-Xmx1024m bundle exec rake ci"
41 - "JRUBY_OPTS=-J-Xmx1024m bundle exec rake ci"
41 notifications:
42 notifications:
42 email: false
43 email: false
General Comments 0
You need to be logged in to leave comments. Login now