Skip to content

Commit

Permalink
Merge pull request #1141 from fluent/rapid-ci-on-appveyor
Browse files Browse the repository at this point in the history
Make CI faster for Windows environment
  • Loading branch information
tagomoris authored Aug 4, 2016
2 parents 9f3abce + 3b390c0 commit b9eb6c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ Rake::TestTask.new(:base_test) do |t|
# $ bundle exec rake base_test TEST=test/test_specified_path.rb
# $ bundle exec rake base_test TEST=test/test_*.rb
t.libs << "test"
t.test_files = Dir["test/**/test_*.rb"].sort
t.test_files = if ENV["WIN_RAPID"]
["test/test_event.rb", "test/test_supervisor.rb", "test/plugin_helper/test_event_loop.rb"]
else
Dir["test/**/test_*.rb"].sort
end
t.verbose = true
t.warning = true
t.ruby_opts = ["-Eascii-8bit:ascii-8bit"]
Expand Down
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install:
- bundle install
build: off
test_script:
- bundle exec rake test TESTOPTS=-v
- bundle exec rake test

branches:
only:
Expand All @@ -30,10 +30,12 @@ environment:
devkit: C:\Ruby23-x64\DevKit
- ruby_version: "22"
devkit: C:\Ruby23\DevKit
WIN_RAPID: true
- ruby_version: "21-x64"
devkit: C:\Ruby23-x64\DevKit
- ruby_version: "21"
devkit: C:\Ruby23\DevKit
WIN_RAPID: true
matrix:
allow_failures:
- ruby_version: "21"

0 comments on commit b9eb6c7

Please sign in to comment.