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