Avoid bundler on travis

i18n_v4
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