Avoid bundler on travis
This commit is contained in:
parent
ed50d4326a
commit
1022e63cee
|
@ -7,7 +7,7 @@ rvm:
|
|||
|
||||
script: "bundle exec rake test"
|
||||
|
||||
env: TRAVIS=true
|
||||
env: TEST=true
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue