##// END OF EJS Templates
Merged r14074 from trunk to 3.0-stable...
Toshi MARUYAMA -
r13693:fae1ce430c04
parent child
Show More
@@ -1,40 +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 matrix:
12 12 allow_failures:
13 13 # SCM tests fail randomly due to IO.popen().
14 14 # http://www.redmine.org/issues/19091
15 15 # https://github.com/jruby/jruby/issues/779
16 16 - rvm: jruby
17 17 env:
18 18 - "TEST_SUITE=units DATABASE_ADAPTER=postgresql"
19 19 - "TEST_SUITE=functionals DATABASE_ADAPTER=postgresql"
20 20 - "TEST_SUITE=integration DATABASE_ADAPTER=postgresql"
21 - "TEST_SUITE=ui DATABASE_ADAPTER=postgresql"
21 22 - "TEST_SUITE=units DATABASE_ADAPTER=mysql"
22 23 - "TEST_SUITE=functionals DATABASE_ADAPTER=mysql"
23 24 - "TEST_SUITE=integration DATABASE_ADAPTER=mysql"
25 - "TEST_SUITE=ui DATABASE_ADAPTER=mysql"
24 26 - "TEST_SUITE=units DATABASE_ADAPTER=sqlite3"
25 27 - "TEST_SUITE=functionals DATABASE_ADAPTER=sqlite3"
26 28 - "TEST_SUITE=integration DATABASE_ADAPTER=sqlite3"
29 - "TEST_SUITE=ui DATABASE_ADAPTER=sqlite3"
27 30 before_install:
28 31 - "sudo apt-get update -qq"
29 32 - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion"
30 33 script:
31 34 - "SCMS=bazaar,cvs,subversion,git,mercurial,filesystem"
32 35 - "export SCMS"
33 36 - "git --version"
34 37 - "bundle install"
35 38 - "RUN_ON_NOT_OFFICIAL='' RUBY_VER=1.9 BRANCH=trunk bundle exec rake config/database.yml"
36 39 - "bundle install"
37 40 - "bundle exec rake ci:setup"
41 - phantomjs --webdriver 4444 &
38 42 - JRUBY_OPTS=-J-Xmx1024m bundle exec rake test:${TEST_SUITE}
39 43 notifications:
40 44 email: false
General Comments 0
You need to be logged in to leave comments. Login now