Skip to content

Commit

Permalink
Groups tests for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Brice TEXIER committed Jan 17, 2017
1 parent 47bb361 commit 7eebc43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -4,12 +4,10 @@ cache: bundler
rvm:
- 2.2.3
env:
- TEST_SUITE=libs
- TEST_SUITE=models
- TEST_SUITE=controllers
- TEST_SUITE=helpers
- TEST_SUITE=integration
- TEST_SUITE=lib
- TEST_SUITE=javascripts
- TEST_SUITE=frontend
before_install: test/ci/before_install
before_script: test/ci/before_script
script: xvfb-run bundle exec rake test:$TEST_SUITE DRIVER=webkit
Expand Down
4 changes: 4 additions & 0 deletions lib/tasks/testing.rake
Expand Up @@ -14,4 +14,8 @@ namespace :test do

# Append test for lib
task run_all: ['test:units', 'test:functionals', 'test:integration', 'test:lib', 'test:javascripts']

task frontend: ['test:integration', 'test:javascripts']

task libs: ['test:helpers', 'test:lib']
end

0 comments on commit 7eebc43

Please sign in to comment.