]> source.dussan.org Git - redmine.git/commitdiff
add appveyor.yml
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 29 Oct 2015 12:21:11 +0000 (12:21 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 29 Oct 2015 12:21:11 +0000 (12:21 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14756 e93f8b46-1217-0410-a6f0-8f06a7374b81

appveyor.yml [new file with mode: 0644]

diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644 (file)
index 0000000..993e7e4
--- /dev/null
@@ -0,0 +1,36 @@
+# 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
+
+build: off
+
+test_script:
+  - bundle install --without mysql2 postgres rmagick
+  - set SCMS=git
+  - 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"