@@ -1,38 +1,36 | |||||
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 |
|
4 | |||
5 | install: |
|
5 | install: | |
6 | - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% |
|
6 | - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% | |
7 | - ruby --version |
|
7 | - ruby --version | |
8 | - gem --version |
|
8 | - gem --version | |
9 | - git --version |
|
9 | - git --version | |
10 | - hg --version |
|
10 | - hg --version | |
11 |
|
11 | |||
12 | build: off |
|
12 | build: off | |
13 |
|
13 | |||
14 | test_script: |
|
14 | test_script: | |
15 | - bundle install --without rmagick |
|
15 | - bundle install --without rmagick | |
16 | - set SCMS=mercurial |
|
16 | - set SCMS=mercurial | |
17 | - set RUN_ON_NOT_OFFICIAL= |
|
17 | - set RUN_ON_NOT_OFFICIAL= | |
18 | - set RUBY_VER=1.9 |
|
18 | - set RUBY_VER=1.9 | |
19 | - set BRANCH=trunk |
|
19 | - set BRANCH=trunk | |
20 | - bundle exec rake config/database.yml |
|
20 | - bundle exec rake config/database.yml | |
21 | - bundle install |
|
21 | - bundle install | |
22 | - bundle exec rake ci:setup |
|
22 | - bundle exec rake ci:setup | |
23 | - bundle exec rake test |
|
23 | - bundle exec rake test | |
24 |
|
24 | |||
25 | environment: |
|
25 | environment: | |
26 | global: |
|
26 | global: | |
27 | RAILS_ENV: test |
|
27 | RAILS_ENV: test | |
28 | DATABASE_ADAPTER: sqlite3 |
|
28 | DATABASE_ADAPTER: sqlite3 | |
29 | matrix: |
|
29 | matrix: | |
30 | - ruby_version: "193" |
|
30 | - ruby_version: "193" | |
31 | - ruby_version: "200" |
|
31 | - ruby_version: "200" | |
32 | - ruby_version: "200-x64" |
|
32 | - ruby_version: "200-x64" | |
33 | - ruby_version: "21" |
|
33 | - ruby_version: "21" | |
34 | - ruby_version: "21-x64" |
|
34 | - ruby_version: "21-x64" | |
35 | # Nokogori does not work on Windows Ruby 2.2 |
|
35 | - ruby_version: "22" | |
36 | # https://github.com/sparklemotion/nokogiri/issues/1256 |
|
36 | - ruby_version: "22-x64" | |
37 | # - ruby_version: "22" |
|
|||
38 | # - ruby_version: "22-x64" |
|
General Comments 0
You need to be logged in to leave comments.
Login now