summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-05 16:16:34 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-06 10:15:24 +0200
commit38e62c83fec8bbb03335073a769fefc3d91f2cf5 (patch)
tree3511a61e3b69ce78520530f669b35759e5d5e1c6
parentf76bfed9fc3e52c7b3b731dbb311b6b394d9af62 (diff)
downloadgitlab-ce-ci-tags.tar.gz
Optimise .gitlab-ci.ymlci-tags
-rw-r--r--.gitlab-ci.yml76
1 files changed, 0 insertions, 76 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 336ceb31021..1dc49ca336d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,6 @@ image: "ruby:2.1"
services:
- mysql:latest
- - postgres:latest
- redis:latest
cache:
@@ -35,123 +34,79 @@ spec:feature:
script:
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
- tags:
- - ruby
- - mysql
spec:api:
stage: test
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
- tags:
- - ruby
- - mysql
spec:models:
stage: test
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
- tags:
- - ruby
- - mysql
spec:lib:
stage: test
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
- tags:
- - ruby
- - mysql
spec:services:
stage: test
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
- tags:
- - ruby
- - mysql
spec:other:
stage: test
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
- tags:
- - ruby
- - mysql
spinach:project:half:
stage: test
script:
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
- tags:
- - ruby
- - mysql
spinach:project:rest:
stage: test
script:
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
- tags:
- - ruby
- - mysql
spinach:other:
stage: test
script:
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
- tags:
- - ruby
- - mysql
teaspoon:
stage: test
script:
- RAILS_ENV=test bundle exec teaspoon
- tags:
- - ruby
- - mysql
rubocop:
stage: test
script:
- bundle exec rubocop
- tags:
- - ruby
- - mysql
scss-lint:
stage: test
script:
- bundle exec rake scss_lint
- tags:
- - ruby
brakeman:
stage: test
script:
- bundle exec rake brakeman
- tags:
- - ruby
- - mysql
flog:
stage: test
script:
- bundle exec rake flog
- tags:
- - ruby
- - mysql
flay:
stage: test
script:
- bundle exec rake flay
- tags:
- - ruby
- - mysql
bundler:audit:
stage: test
@@ -159,9 +114,6 @@ bundler:audit:
- master
script:
- "bundle exec bundle-audit check --update --ignore OSVDB-115941"
- tags:
- - ruby
- - mysql
# Ruby 2.2 jobs
@@ -177,9 +129,6 @@ spec:feature:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spec:api:ruby22:
stage: test
@@ -192,9 +141,6 @@ spec:api:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spec:models:ruby22:
stage: test
@@ -207,9 +153,6 @@ spec:models:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spec:lib:ruby22:
stage: test
@@ -222,9 +165,6 @@ spec:lib:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spec:services:ruby22:
stage: test
@@ -237,9 +177,6 @@ spec:services:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spec:other:ruby22:
stage: test
@@ -252,9 +189,6 @@ spec:other:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spinach:project:half:ruby22:
stage: test
@@ -268,9 +202,6 @@ spinach:project:half:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spinach:project:rest:ruby22:
stage: test
@@ -284,9 +215,6 @@ spinach:project:rest:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
spinach:other:ruby22:
stage: test
@@ -300,10 +228,6 @@ spinach:other:ruby22:
key: "ruby22"
paths:
- vendor
- tags:
- - ruby
- - mysql
-
notify:slack:
stage: notifications