@@ -1,42 +1,43 | |||
|
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.8.7 |
|
7 | 7 | - 1.9.2 |
|
8 | 8 | - 1.9.3 |
|
9 | 9 | - 2.0 |
|
10 | 10 | - 2.1 |
|
11 | - 2.2 | |
|
11 | 12 | - jruby |
|
12 | 13 | env: |
|
13 | 14 | - "SUITE=units DB=postgresql" |
|
14 | 15 | - "SUITE=functionals DB=postgresql" |
|
15 | 16 | - "SUITE=integration DB=postgresql" |
|
16 | 17 | - "SUITE=units DB=mysql" |
|
17 | 18 | - "SUITE=functionals DB=mysql" |
|
18 | 19 | - "SUITE=integration DB=mysql" |
|
19 | 20 | - "SUITE=units DB=sqlite3" |
|
20 | 21 | - "SUITE=functionals DB=sqlite3" |
|
21 | 22 | - "SUITE=integration DB=sqlite3" |
|
22 | 23 | matrix: |
|
23 | 24 | allow_failures: |
|
24 | 25 | # SCM tests fail randomly due to IO.popen(). |
|
25 | 26 | # http://www.redmine.org/issues/19091 |
|
26 | 27 | # https://github.com/jruby/jruby/issues/779 |
|
27 | 28 | - rvm: jruby |
|
28 | 29 | before_install: |
|
29 | 30 | - "sudo apt-get update -qq" |
|
30 | 31 | - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion" |
|
31 | 32 | script: |
|
32 | 33 | - export DATABASE_ADAPTER=${DB} |
|
33 | 34 | - "SCMS=bazaar,cvs,subversion,git,mercurial,filesystem" |
|
34 | 35 | - "export SCMS" |
|
35 | 36 | - "git --version" |
|
36 | 37 | - "bundle install" |
|
37 | 38 | - "RUN_ON_NOT_OFFICIAL='' RUBY_VER=1.9 BRANCH=trunk bundle exec rake config/database.yml" |
|
38 | 39 | - "bundle install" |
|
39 | 40 | - export TEST_SUITE=${SUITE} |
|
40 | 41 | - "JRUBY_OPTS=-J-Xmx1024m bundle exec rake ci" |
|
41 | 42 | notifications: |
|
42 | 43 | email: false |
General Comments 0
You need to be logged in to leave comments.
Login now