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