diff --git a/.travis.yml b/.travis.yml index 7cfea8dba..ea7b73b88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/travis.sh b/travis.sh index 9ade60c64..663004ebf 100755 --- a/travis.sh +++ b/travis.sh @@ -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/