summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-19 17:19:57 +0100
committerJames Lopez <james@jameslopez.es>2016-02-19 17:19:57 +0100
commitaf0ba6605b7fc83c26708e0248b3a2776ec6a150 (patch)
tree425cb566476e4d91a61a5218366bb461730ccbe2 /.gitlab-ci.yml
parent83829c0902e688882413ab4064d8ff5d3ec54b79 (diff)
downloadgitlab-ce-af0ba6605b7fc83c26708e0248b3a2776ec6a150.tar.gz
revert back to ruby 2.1 - use 2.1.8
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml290
1 files changed, 145 insertions, 145 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 51ef188f1bd..8a729f957a2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ services:
- redis:latest
cache:
- key: "ruby22"
+ key: "ruby21"
paths:
- vendor
@@ -140,147 +140,147 @@ bundler:audit:
- mysql
allow_failure: true
-# Ruby 2.1 jobs
-#
-#spec:feature:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spec:api:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spec:models:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spec:lib:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spec:services:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spec:benchmark:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test bundle exec rake spec:benchmark
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-# allow_failure: true
-#
-#spec:other:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spinach:project:half:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spinach:project:rest:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
-#spinach:other:ruby21:
-# image: ruby:2.1
-# only:
-# - master
-# script:
-# - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
-# cache:
-# key: "ruby21"
-# paths:
-# - vendor
-# tags:
-# - ruby
-# - mysql
-#
+# Ruby 2.2 jobs
+
+spec:feature:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spec:api:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spec:models:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spec:lib:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spec:services:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spec:benchmark:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test bundle exec rake spec:benchmark
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+ allow_failure: true
+
+spec:other:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spinach:project:half:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spinach:project:rest:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+
+spinach:other:ruby22:
+ image: ruby:2.2
+ only:
+ - master
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
+ cache:
+ key: "ruby22"
+ paths:
+ - vendor
+ tags:
+ - ruby
+ - mysql
+