From eefcfdd1da784037707405c8f1e7ad5bf282e483 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Tue, 9 Jun 2015 03:26:35 +0300 Subject: [PATCH] Update travis.sh --- .travis.yml | 1 + travis.sh | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 559a4eb85..f648e7b5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/travis.sh b/travis.sh index 75f3dd158..374ffd5d7 100755 --- a/travis.sh +++ b/travis.sh @@ -8,14 +8,17 @@ 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/ elif [ $SPEC_GROUP = 'others' ] then - # $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/helpers/ spec/integration/ spec/lib/ spec/mailers/ spec/mailers/ spec/routing/ + $rspec spec/integration/ spec/services/ spec/mailers/ spec/mailers/ spec/routing/ fi