2015-10-29 12:21:11 +00:00
|
|
|
# Redmine runs tests on own continuous integration server.
|
|
|
|
|
# http://www.redmine.org/projects/redmine/wiki/Continuous_integration
|
|
|
|
|
# You can also run tests on your environment.
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
|
|
|
|
- ruby --version
|
|
|
|
|
- gem --version
|
2015-11-30 06:02:22 +00:00
|
|
|
- git --version
|
|
|
|
|
- hg --version
|
2017-04-06 21:45:09 +00:00
|
|
|
- chcp
|
2015-10-29 12:21:11 +00:00
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
|
|
test_script:
|
2019-08-14 02:40:56 +00:00
|
|
|
- bundle install --without minimagick
|
2015-11-30 06:30:52 +00:00
|
|
|
- set SCMS=mercurial
|
2015-10-29 12:21:11 +00:00
|
|
|
- set RUN_ON_NOT_OFFICIAL=
|
|
|
|
|
- set RUBY_VER=1.9
|
|
|
|
|
- set BRANCH=trunk
|
|
|
|
|
- bundle exec rake config/database.yml
|
|
|
|
|
- bundle install
|
|
|
|
|
- bundle exec rake ci:setup
|
|
|
|
|
- bundle exec rake test
|
|
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
global:
|
|
|
|
|
RAILS_ENV: test
|
|
|
|
|
DATABASE_ADAPTER: sqlite3
|
|
|
|
|
matrix:
|
|
|
|
|
- ruby_version: "193"
|
|
|
|
|
- ruby_version: "200"
|
|
|
|
|
- ruby_version: "200-x64"
|
|
|
|
|
- ruby_version: "21"
|
|
|
|
|
- ruby_version: "21-x64"
|
2015-11-30 07:14:21 +00:00
|
|
|
- ruby_version: "22"
|
|
|
|
|
- ruby_version: "22-x64"
|