#298: updated travis configs
This commit is contained in:
parent
24a0307e63
commit
9651ca5b5e
|
@ -4,6 +4,7 @@ rvm:
|
||||||
bundler_args: --without development
|
bundler_args: --without development
|
||||||
env:
|
env:
|
||||||
- SPEC_GROUP=controllers
|
- SPEC_GROUP=controllers
|
||||||
|
- SPEC_GROUP=platform_controllers
|
||||||
- SPEC_GROUP=api
|
- SPEC_GROUP=api
|
||||||
- SPEC_GROUP=models
|
- SPEC_GROUP=models
|
||||||
- SPEC_GROUP=others
|
- SPEC_GROUP=others
|
||||||
|
|
|
@ -4,7 +4,10 @@ rspec="bundle exec rspec"
|
||||||
|
|
||||||
if [ $SPEC_GROUP = 'controllers' ]
|
if [ $SPEC_GROUP = 'controllers' ]
|
||||||
then
|
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' ]
|
elif [ $SPEC_GROUP = 'api' ]
|
||||||
then
|
then
|
||||||
$rspec spec/controllers/api/
|
$rspec spec/controllers/api/
|
||||||
|
|
Loading…
Reference in New Issue