Rakefile in highrise_mapper-0.0.2 vs Rakefile in highrise_mapper-0.0.3

- old
+ new

@@ -2,6 +2,14 @@ Bundler::GemHelper.install_tasks require "rspec/core/rake_task" RSpec::Core::RakeTask.new -task :default => :build +task :default => :travis + +task :travis do + ["rake spec", "rake build"].each do |cmd| + puts "Starting to run #{cmd}..." + system("export DISPLAY=:99.0 && bundle exec #{cmd}") + raise "#{cmd} failed!" unless $?.exitstatus == 0 + end +end \ No newline at end of file