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