1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Print a failing build so I can debug on travis

This commit is contained in:
Thomas Reynolds 2015-12-13 13:59:44 -08:00
parent b6befd3fc3
commit 01f899f529
4 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,7 @@ gem 'slim', '>= 2.0', require: false
gem 'liquid', '>= 2.6', require: false gem 'liquid', '>= 2.6', require: false
gem 'stylus', '>= 1.0', require: false gem 'stylus', '>= 1.0', require: false
gem 'sinatra', '>= 1.4', require: false gem 'sinatra', '>= 1.4', require: false
gem 'redcarpet', '>= 3.1', require: false unless RUBY_ENGINE == 'jruby' gem 'redcarpet', '>= 3.1', require: false
# Dns server to test preview server # Dns server to test preview server
gem 'rubydns', '~> 1.0.1', require: false gem 'rubydns', '~> 1.0.1', require: false

View file

@ -64,6 +64,7 @@ module Middleman::Cli
if builder.run! if builder.run!
clean_directories! if options['clean'] clean_directories! if options['clean']
shell.say "Project built successfully."
else else
msg = 'There were errors during this build' msg = 'There were errors during this build'
unless options['verbose'] unless options['verbose']

View file

@ -10,6 +10,7 @@ Given /^a built app at "([^\"]*)"$/ do |path|
end end
Given /^was successfully built$/ do Given /^was successfully built$/ do
step %Q{the output should contain "Project built successfully."}
step %Q{the exit status should be 0} step %Q{the exit status should be 0}
step %Q{a directory named "build" should exist} step %Q{a directory named "build" should exist}
end end

View file

@ -27,7 +27,7 @@ Gem::Specification.new do |s|
# Helpers # Helpers
s.add_dependency('activesupport', ['~> 4.2']) s.add_dependency('activesupport', ['~> 4.2'])
s.add_dependency('padrino-helpers', ['~> 0.13.0']) s.add_dependency('padrino-helpers', ['~> 0.13.0'])
s.add_dependency("addressable", ["~> 2.3.5"]) s.add_dependency("addressable", ["~> 2.4.0"])
# Watcher # Watcher
s.add_dependency('listen', ['~> 3.0']) s.add_dependency('listen', ['~> 3.0'])