#298: updated travis configs

This commit is contained in:
Vokhmin Alexey V 2013-09-16 18:19:02 +04:00
parent 24a0307e63
commit 9651ca5b5e
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ rvm:
bundler_args: --without development
env:
- SPEC_GROUP=controllers
- SPEC_GROUP=platform_controllers
- SPEC_GROUP=api
- SPEC_GROUP=models
- SPEC_GROUP=others

View File

@ -4,7 +4,10 @@ rspec="bundle exec rspec"
if [ $SPEC_GROUP = 'controllers' ]
then
$rspec spec/controllers/*_spec.rb spec/controllers/admin/ spec/controllers/groups/ spec/controllers/platforms/ spec/controllers/projects/ spec/controllers/users/
$rspec spec/controllers/*_spec.rb spec/controllers/admin/ spec/controllers/groups/ spec/controllers/projects/ spec/controllers/users/
elif [ $SPEC_GROUP = 'platform_controllers' ]
then
$rspec spec/controllers/platforms/
elif [ $SPEC_GROUP = 'api' ]
then
$rspec spec/controllers/api/