Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
csm123 committed Oct 7, 2014
1 parent 0d3b672 commit d334c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ rvm:
- "2.1.3"

# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec
script: bundle exec rspec
8 changes: 1 addition & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ require 'appraisal'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

task :default do |t|
if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
exec 'rake spec'
else
Rake::Task['appraise'].execute
end
end
task :default => ['appraisal:install']

task :appraise => ['appraisal:install'] do |t|
exec 'rake appraisal'
Expand Down

0 comments on commit d334c12

Please sign in to comment.