Files
Redmine/appveyor.yml
Toshi MARUYAMA d54ee970c4 use mercurial instead of git on appveyor
Some tests fail on git version 2.6.3.windows.1.

<pre>
  1) Error:
GitAdapterTest#test_entries_branch:
NoMethodError: undefined method `identifier' for nil:NilClass
    test/unit/lib/redmine/scm/adapters/git_adapter_test.rb:464:in `test_entries_branch'

  2) Error:
GitAdapterTest#test_entries_tag:
NoMethodError: undefined method `identifier' for nil:NilClass
    test/unit/lib/redmine/scm/adapters/git_adapter_test.rb:447:in `test_entries_tag'
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@14903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-30 06:30:52 +00:00

39 lines
964 B
YAML

# 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
- git --version
- hg --version
build: off
test_script:
- bundle install --without rmagick
- set SCMS=mercurial
- 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"
# Nokogori does not work on Windows Ruby 2.2
# https://github.com/sparklemotion/nokogiri/issues/1256
# - ruby_version: "22"
# - ruby_version: "22-x64"