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"
env: TRAVIS=true
env: TEST=true
matrix:
allow_failures:

View file

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

View file

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