Skip to content

Commit

Permalink
[#180] Specify all rake commands for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Feb 17, 2012
1 parent 91674c6 commit 3430e88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,4 +1,3 @@
pkg
*.DS_Store
*.swp
*.swo
Expand All @@ -7,4 +6,5 @@ pkg
.bundle
db/*.sqlite3
log/*.log
pkg
tmp/
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -5,7 +5,7 @@ rvm:
- 1.9.3
before_install:
- gem update --system
script: "bundle exec rake"
script: 'bundle exec rake appraisal spec cucumber'
gemfile:
- gemfiles/3.0.9.gemfile
- gemfiles/3.1.0.gemfile
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -9,12 +9,12 @@ require 'diesel/tasks'
require 'rspec/core/rake_task'
require 'appraisal'

desc "Default: run the specs and cucumber features"
desc 'Default: run the specs and cucumber features'
task :default => [:all]

desc 'Test the plugin under all supported Rails versions.'
task :all => ["appraisal:install"] do |t|
exec('rake appraisal spec cucumber')
task :all => ['appraisal:install'] do |t|
exec 'rake appraisal spec cucumber'
end

RSpec::Core::RakeTask.new(:spec)
Expand Down

0 comments on commit 3430e88

Please sign in to comment.