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 'stylus', '>= 1.0', 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
gem 'rubydns', '~> 1.0.1', require: false

View file

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

View file

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

View file

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