@@ -0,0 +1,36 | |||
|
1 | # Redmine runs tests on own continuous integration server. | |
|
2 | # http://www.redmine.org/projects/redmine/wiki/Continuous_integration | |
|
3 | # You can also run tests on your environment. | |
|
4 | ||
|
5 | install: | |
|
6 | - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% | |
|
7 | - ruby --version | |
|
8 | - gem --version | |
|
9 | - git --version | |
|
10 | - hg --version | |
|
11 | ||
|
12 | build: off | |
|
13 | ||
|
14 | test_script: | |
|
15 | - bundle install --without rmagick | |
|
16 | - set SCMS=mercurial | |
|
17 | - set RUN_ON_NOT_OFFICIAL= | |
|
18 | - set RUBY_VER=1.9 | |
|
19 | - set BRANCH=trunk | |
|
20 | - bundle exec rake config/database.yml | |
|
21 | - bundle install | |
|
22 | - bundle exec rake ci:setup | |
|
23 | - bundle exec rake test | |
|
24 | ||
|
25 | environment: | |
|
26 | global: | |
|
27 | RAILS_ENV: test | |
|
28 | DATABASE_ADAPTER: sqlite3 | |
|
29 | matrix: | |
|
30 | - ruby_version: "193" | |
|
31 | - ruby_version: "200" | |
|
32 | - ruby_version: "200-x64" | |
|
33 | - ruby_version: "21" | |
|
34 | - ruby_version: "21-x64" | |
|
35 | - ruby_version: "22" | |
|
36 | - ruby_version: "22-x64" |
General Comments 0
You need to be logged in to leave comments.
Login now