Commit 443b886c authored by Cool Fire's avatar Cool Fire

Update CI scripts

parent 74a43424
Pipeline #1390 passed with stages
in 5 minutes and 4 seconds
...@@ -6,8 +6,6 @@ stages: ...@@ -6,8 +6,6 @@ stages:
ruby_2.1: ruby_2.1:
image: ruby:2.1 image: ruby:2.1
stage: syntax stage: syntax
tags:
- ruby
script: script:
- ruby -v - ruby -v
- ruby scheck.rb - ruby scheck.rb
...@@ -15,8 +13,6 @@ ruby_2.1: ...@@ -15,8 +13,6 @@ ruby_2.1:
ruby_2.2: ruby_2.2:
image: ruby:2.2 image: ruby:2.2
stage: syntax stage: syntax
tags:
- ruby
only: only:
- master - master
script: script:
...@@ -26,8 +22,6 @@ ruby_2.2: ...@@ -26,8 +22,6 @@ ruby_2.2:
ruby_2.3: ruby_2.3:
image: ruby:2.3 image: ruby:2.3
stage: syntax stage: syntax
tags:
- ruby
only: only:
- master - master
script: script:
...@@ -37,8 +31,24 @@ ruby_2.3: ...@@ -37,8 +31,24 @@ ruby_2.3:
ruby_2.4: ruby_2.4:
image: ruby:2.4 image: ruby:2.4
stage: syntax stage: syntax
tags: only:
- ruby - master
script:
- ruby -v
- ruby scheck.rb
ruby_2.5:
image: ruby:2.5
stage: syntax
only:
- master
script:
- ruby -v
- ruby scheck.rb
ruby_2.6:
image: ruby:2.6
stage: syntax
only: only:
- master - master
script: script:
...@@ -48,8 +58,6 @@ ruby_2.4: ...@@ -48,8 +58,6 @@ ruby_2.4:
jruby_1.7: jruby_1.7:
image: jruby:1.7 image: jruby:1.7
stage: syntax stage: syntax
tags:
- ruby
only: only:
- master - master
script: script:
...@@ -59,8 +67,6 @@ jruby_1.7: ...@@ -59,8 +67,6 @@ jruby_1.7:
jruby_9.1: jruby_9.1:
image: jruby:9.1 image: jruby:9.1
stage: syntax stage: syntax
tags:
- ruby
only: only:
- master - master
script: script:
...@@ -69,8 +75,6 @@ jruby_9.1: ...@@ -69,8 +75,6 @@ jruby_9.1:
rubocop: rubocop:
stage: linting stage: linting
tags:
- ruby
script: script:
- gem install rubocop --no-document - gem install rubocop --no-document
- rubocop -l -f simple --except RescueException,Eval,AssignmentInCondition,ScriptPermission - rubocop -l -f simple --except RescueException,Eval,AssignmentInCondition,ScriptPermission
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment