Specify the build command

Travis defaults to just running `rake` but on newer ruby versions on
Travis, rake v. 12 is already installed which results in
```
Gem::LoadError: You have already activated rake 12.0.0, but your Gemfile requires rake 10.5.0. Prepending `bundle exec` to your command may solve this.
```
This commit is contained in:
jgrau 2017-03-28 23:38:35 +02:00
parent 061eccf422
commit 987cb57aab
No known key found for this signature in database
GPG Key ID: 701FB978EB0E2A61
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ before_script:
- bundle exec rails g impressionist -f - bundle exec rails g impressionist -f
- bundle exec rake db:create db:migrate RAILS_ENV=test - bundle exec rake db:create db:migrate RAILS_ENV=test
- cd .. - cd ..
script:
- bundle exec rake
rvm: rvm:
- 1.9.3 - 1.9.3
- 2.0.0 - 2.0.0