Update travis.sh

This commit is contained in:
Vokhmin Alexey V 2015-06-09 03:26:35 +03:00
parent 874a17c79b
commit eefcfdd1da
2 changed files with 7 additions and 3 deletions

View File

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

View File

@ -8,9 +8,12 @@ then
elif [ $SPEC_GROUP = 'platform_controllers' ]
then
$rspec spec/controllers/platforms/
elif [ $SPEC_GROUP = 'api-slow' ]
then
$rspec spec/controllers/api/v1/ --pattern build_lists*
elif [ $SPEC_GROUP = 'api' ]
then
$rspec spec/controllers/api/
$rspec spec/controllers/api/v1/ --exclude-pattern build_lists*
elif [ $SPEC_GROUP = 'models' ]
then
$rspec spec/models/ spec/jobs/