summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-01-27 15:41:05 +0100
committerJames Lopez <james@jameslopez.es>2016-01-27 15:41:05 +0100
commitb8ed5789c03961444fc40baca31f870b30a73766 (patch)
treec000ca8abe68960c20d29abd3ef1717a21d3aa15 /.gitlab-ci.yml
parent1b84de573d0afe8c8d81db4ef2897a925686d212 (diff)
downloadgitlab-ce-b8ed5789c03961444fc40baca31f870b30a73766.tar.gz
update gitlab ci settings to include ruby 2.1 images
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml116
1 files changed, 116 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dca861faf12..414344a7f75 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -134,3 +134,119 @@ bundler:audit:
- ruby
- mysql
allow_failure: true
+
+# Ruby 2.1 jobs
+
+spec:feature:ruby21:
+ image: ruby:2.1
+ 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
+ only:
+ - master
+
+spec:api:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+spec:models:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+spec:lib:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+spec:services:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+spec:benchmark:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test bundle exec rake spec:benchmark
+ tags:
+ - ruby
+ - mysql
+ allow_failure: true
+ only:
+ - master
+
+spec:other:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+spinach:project:half:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+spinach:project:rest:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+spinach:other:ruby21:
+ image: ruby:2.1
+ script:
+ - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
+ tags:
+ - ruby
+ - mysql
+ only:
+ - master
+
+bundler:audit:ruby21:
+ image: ruby:2.1
+ script:
+ - "bundle exec bundle-audit update"
+ - "bundle exec bundle-audit check"
+ tags:
+ - ruby
+ - mysql
+ allow_failure: true
+ only:
+ - master