Navigation Menu

Skip to content

Commit

Permalink
travis: run unit test and command tests separately
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 27, 2014
1 parent f17e1bd commit 130bee4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
@@ -1,6 +1,10 @@
notifications:
recipients:
- groonga-commit@lists.sourceforge.jp
env:
- DEFAULT_TEST_TASK=test:unit
- DEFAULT_TEST_TASK=test:command:default
- DEFAULT_TEST_TASK=test:command:version1
rvm:
- 1.9.3
- 2.0.0
Expand Down
5 changes: 3 additions & 2 deletions Rakefile
@@ -1,6 +1,6 @@
# -*- ruby -*-
#
# Copyright (C) 2013 Droonga Project
# Copyright (C) 2013-2014 Droonga Project
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -60,4 +60,5 @@ task :test => [
"test:command:version1",
]

task :default => :test
test_task = ENV["DEFAULT_TEST_TASK"] || "test"
task :default => test_task

0 comments on commit 130bee4

Please sign in to comment.