Avoid bundler on travis
This commit is contained in:
parent
ed50d4326a
commit
1022e63cee
|
@ -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:
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue