|
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
|
- chcp
|
|
12
|
|
|
13
|
build: off
|
|
14
|
|
|
15
|
test_script:
|
|
16
|
- bundle install --without minimagick
|
|
17
|
- set SCMS=mercurial
|
|
18
|
- set RUN_ON_NOT_OFFICIAL=
|
|
19
|
- set RUBY_VER=1.9
|
|
20
|
- set BRANCH=trunk
|
|
21
|
- bundle exec rake config/database.yml
|
|
22
|
- bundle install
|
|
23
|
- bundle exec rake ci:setup
|
|
24
|
- bundle exec rake test
|
|
25
|
|
|
26
|
environment:
|
|
27
|
global:
|
|
28
|
RAILS_ENV: test
|
|
29
|
DATABASE_ADAPTER: sqlite3
|
|
30
|
matrix:
|
|
31
|
- ruby_version: "193"
|
|
32
|
- ruby_version: "200"
|
|
33
|
- ruby_version: "200-x64"
|
|
34
|
- ruby_version: "21"
|
|
35
|
- ruby_version: "21-x64"
|
|
36
|
- ruby_version: "22"
|
|
37
|
- ruby_version: "22-x64"
|