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