Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cut rake out of rspec/cucumber for CI builds.

When something environmental fails (i.e. not in an individual spec, but when the spec files are being loaded), the rake tasks craps out but does not include the backtrace of what failed.  It's really annoying and hard to troubleshoot.  This should work better.
  • Loading branch information...
commit 2ac7a03d04dc1e1ffcf6e54c5ce5fb2b027c4cd9 1 parent 1bdaa8c
@myronmarston myronmarston authored
Showing with 15 additions and 1 deletion.
  1. +1 −1  .travis.yml
  2. +14 −0 script/
2  .travis.yml
@@ -1,7 +1,7 @@
language: ruby
env: CUCUMBER_FORMAT=progress
bundler_args: --without extras
-script: "bundle exec rake ci:build --trace"
+script: "script/"
- 1.8.7
- 1.9.2
14 script/
@@ -0,0 +1,14 @@
+# Kill the whole script on error
+set -e
+# Setup vendored rspec-1
+git submodule init
+git submodule update
+bundle exec ruby -w -I./spec -r./spec/capture_warnings -rspec_helper -S rspec spec --format progress --backtrace
+bundle exec cucumber
+bundle exec rake yard_coverage
+bundle exec rake check_code_coverage
Please sign in to comment.
Something went wrong with that request. Please try again.