Update travis.sh
This commit is contained in:
parent
874a17c79b
commit
eefcfdd1da
|
@ -5,6 +5,7 @@ bundler_args: --without development
|
||||||
env:
|
env:
|
||||||
- SPEC_GROUP=controllers
|
- SPEC_GROUP=controllers
|
||||||
- SPEC_GROUP=platform_controllers
|
- SPEC_GROUP=platform_controllers
|
||||||
|
- SPEC_GROUP=api-slow
|
||||||
- SPEC_GROUP=api
|
- SPEC_GROUP=api
|
||||||
- SPEC_GROUP=models
|
- SPEC_GROUP=models
|
||||||
- SPEC_GROUP=others
|
- SPEC_GROUP=others
|
||||||
|
|
|
@ -8,14 +8,17 @@ then
|
||||||
elif [ $SPEC_GROUP = 'platform_controllers' ]
|
elif [ $SPEC_GROUP = 'platform_controllers' ]
|
||||||
then
|
then
|
||||||
$rspec spec/controllers/platforms/
|
$rspec spec/controllers/platforms/
|
||||||
|
elif [ $SPEC_GROUP = 'api-slow' ]
|
||||||
|
then
|
||||||
|
$rspec spec/controllers/api/v1/ --pattern build_lists*
|
||||||
elif [ $SPEC_GROUP = 'api' ]
|
elif [ $SPEC_GROUP = 'api' ]
|
||||||
then
|
then
|
||||||
$rspec spec/controllers/api/
|
$rspec spec/controllers/api/v1/ --exclude-pattern build_lists*
|
||||||
elif [ $SPEC_GROUP = 'models' ]
|
elif [ $SPEC_GROUP = 'models' ]
|
||||||
then
|
then
|
||||||
$rspec spec/models/ spec/jobs/
|
$rspec spec/models/ spec/jobs/
|
||||||
elif [ $SPEC_GROUP = 'others' ]
|
elif [ $SPEC_GROUP = 'others' ]
|
||||||
then
|
then
|
||||||
# $rspec spec/helpers/ spec/integration/ spec/lib/ spec/mailers/ spec/mailers/ spec/routing/
|
# $rspec spec/helpers/ spec/integration/ spec/lib/ spec/mailers/ spec/mailers/ spec/routing/
|
||||||
$rspec spec/integration/ spec/services/ spec/mailers/ spec/mailers/ spec/routing/
|
$rspec spec/integration/ spec/services/ spec/mailers/ spec/mailers/ spec/routing/
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue