##// END OF EJS Templates
allow jruby test failure on travis...
Toshi MARUYAMA -
r12600:b1c151f6c337
parent child
Show More
@@ -1,33 +1,38
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.3
7 - 1.9.3
8 - 2.0.0
8 - 2.0.0
9 - 2.1.0
9 - 2.1.0
10 - jruby
10 - jruby
11 matrix:
12 allow_failures:
13 # SCM tests fail randomly due to IO.popen().
14 # https://github.com/jruby/jruby/issues/779
15 - rvm: jruby
11 env:
16 env:
12 - "TEST_SUITE=units DATABASE_ADAPTER=postgresql"
17 - "TEST_SUITE=units DATABASE_ADAPTER=postgresql"
13 - "TEST_SUITE=functionals DATABASE_ADAPTER=postgresql"
18 - "TEST_SUITE=functionals DATABASE_ADAPTER=postgresql"
14 - "TEST_SUITE=integration DATABASE_ADAPTER=postgresql"
19 - "TEST_SUITE=integration DATABASE_ADAPTER=postgresql"
15 - "TEST_SUITE=units DATABASE_ADAPTER=mysql"
20 - "TEST_SUITE=units DATABASE_ADAPTER=mysql"
16 - "TEST_SUITE=functionals DATABASE_ADAPTER=mysql"
21 - "TEST_SUITE=functionals DATABASE_ADAPTER=mysql"
17 - "TEST_SUITE=integration DATABASE_ADAPTER=mysql"
22 - "TEST_SUITE=integration DATABASE_ADAPTER=mysql"
18 - "TEST_SUITE=units DATABASE_ADAPTER=sqlite3"
23 - "TEST_SUITE=units DATABASE_ADAPTER=sqlite3"
19 - "TEST_SUITE=functionals DATABASE_ADAPTER=sqlite3"
24 - "TEST_SUITE=functionals DATABASE_ADAPTER=sqlite3"
20 - "TEST_SUITE=integration DATABASE_ADAPTER=sqlite3"
25 - "TEST_SUITE=integration DATABASE_ADAPTER=sqlite3"
21 before_install:
26 before_install:
22 - "sudo apt-get update -qq"
27 - "sudo apt-get update -qq"
23 - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion"
28 - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion"
24 script:
29 script:
25 - "SCMS=bazaar,cvs,subversion,git,mercurial,filesystem"
30 - "SCMS=bazaar,cvs,subversion,git,mercurial,filesystem"
26 - "export SCMS"
31 - "export SCMS"
27 - "git --version"
32 - "git --version"
28 - "bundle install"
33 - "bundle install"
29 - "RUN_ON_NOT_OFFICIAL='' RUBY_VER=1.9 BRANCH=trunk bundle exec rake config/database.yml"
34 - "RUN_ON_NOT_OFFICIAL='' RUBY_VER=1.9 BRANCH=trunk bundle exec rake config/database.yml"
30 - "bundle install"
35 - "bundle install"
31 - "JRUBY_OPTS=-J-Xmx1024m bundle exec rake ci"
36 - "JRUBY_OPTS=-J-Xmx1024m bundle exec rake ci"
32 notifications:
37 notifications:
33 email: false
38 email: false
General Comments 0
You need to be logged in to leave comments. Login now