Avoid bundler on travis

This commit is contained in:
Thomas Reynolds 2012-05-10 16:29:11 -07:00
parent ed50d4326a
commit 1022e63cee
3 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,7 @@ rvm:
script: "bundle exec rake test" script: "bundle exec rake test"
env: TRAVIS=true env: TEST=true
matrix: matrix:
allow_failures: allow_failures:

View file

@ -17,6 +17,8 @@ class Bundler::GemHelper
end end
Cucumber::Rake::Task.new(:test, 'Run features that should pass') do |t| Cucumber::Rake::Task.new(:test, 'Run features that should pass') do |t|
ENV["TEST"] = "true"
exempt_tags = "" exempt_tags = ""
exempt_tags << "--tags ~@nojava" if RUBY_PLATFORM == "java" exempt_tags << "--tags ~@nojava" if RUBY_PLATFORM == "java"

View file

@ -57,7 +57,7 @@ module Middleman::Templates
inside(location) do inside(location) do
::Middleman::Cli::Bundle.new.invoke(:bundle) ::Middleman::Cli::Bundle.new.invoke(:bundle)
end unless ENV["TRAVIS"] end unless ENV["TEST"]
end end
# Output a .gitignore file # Output a .gitignore file