Kouhei Sutou
null+****@clear*****
Tue Mar 22 18:40:59 JST 2016
Kouhei Sutou 2016-03-22 18:40:59 +0900 (Tue, 22 Mar 2016) New Revision: f981e1194a16b3e557e3df7169406cd2c6970cd4 https://github.com/ranguba/groonga-client-rails/commit/f981e1194a16b3e557e3df7169406cd2c6970cd4 Message: Support testing Added files: .travis.yml test/run-test.rb Added: .travis.yml (+9 -0) 100644 =================================================================== --- /dev/null +++ .travis.yml 2016-03-22 18:40:59 +0900 (442c86e) @@ -0,0 +1,9 @@ +notifications: + recipients: + - groonga-commit �� lists.sourceforge.jp +rvm: + - 2.1 + - 2.2 + - 2.3.0 +before_install: + - gem update bundler Added: test/run-test.rb (+25 -0) 100755 =================================================================== --- /dev/null +++ test/run-test.rb 2016-03-22 18:40:59 +0900 (db331ed) @@ -0,0 +1,25 @@ +#!/usr/bin/env ruby +# +# Copyright (C) 2016 Kouhei Sutou <kou �� clear-code.com> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +require "rbconfig" + +Dir.glob("#{__dir__}/fixtures/*") do |test_application| + Dir.chdir(test_application) do + system(RbConfig.ruby, "-S", "rake", "test", "TESTOPTS=#{ARGV.join(' ')}") + end +end -------------- next part -------------- HTML����������������������������... 下载