You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/08/18 18:05:55 UTC
[whimsy] branch master updated: default task for travis
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 37d199e default task for travis
37d199e is described below
commit 37d199e1bd48f6480eb35986fb1926c1159ba551
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Aug 18 14:05:46 2017 -0400
default task for travis
---
Rakefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Rakefile b/Rakefile
index c8c1526..9086cfc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -170,8 +170,12 @@ file 'www/docs/api/index.html' => Rake::FileList['lib/**/*.rb'] do
end
end
-task :test do
- Dir.chdir 'www/board/agenda' do
- sh 'rake test'
+# Travis support: run the tests associated with the bundle in question
+task :default do
+ bg = ENV['BUNDLE_GEMFILE']
+ if bg and bg != __FILE__
+ Dir.chdir File.dirname(bg) do
+ sh 'rake test'
+ end
end
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].