summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-23 16:43:24 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-23 16:43:24 +0200
commitb5e7096cbfe67cbf7c0faee15ddb8adf6c5a8779 (patch)
treeef8a259f9d02678cced0a3d0ff2436241790ffde /.gitlab-ci.yml
parent94f130cbfc0349c1b17d4882e7d5c367030b21d1 (diff)
downloadgitlab-ce-b5e7096cbfe67cbf7c0faee15ddb8adf6c5a8779.tar.gz
Split rspec and spinach tests in parallel
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml36
1 files changed, 29 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a9574be053..5524c9a7fcb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,35 +9,57 @@ before_script:
- touch log/test.log
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
- bundle exec rake db:create RAILS_ENV=test
-Rspec:
+
+spec:feature:
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
+ tags:
+ - ruby
+ - mysql
+
+spec:api:
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
+ tags:
+ - ruby
+ - mysql
+
+spec:other:
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
+ tags:
+ - ruby
+ - mysql
+
+spinach:project:
script:
- - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project
tags:
- ruby
- mysql
-Spinach:
+spinach:other:
script:
- - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
tags:
- ruby
- mysql
-Jasmine:
+jasmine:ci:
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake jasmine:ci
tags:
- ruby
- mysql
-Rubocop:
+rubocop:
script:
- bundle exec rubocop
tags:
- ruby
- mysql
-Brakeman:
+brakeman:
script:
- bundle exec rake brakeman
tags: