Commit 0359207c authored by Cool Fire (HN)'s avatar Cool Fire (HN)

Add gitlab CI config to do some checks

parent 81760b07
Pipeline #478 failed with stages
in 1 minute and 33 seconds
---
stages:
- syntax
- linting
syntax_ruby_2-4:
stage: syntax
image: ruby:2.4-alpine
script:
- ruby -v
- find . -name '*\.rb' -exec bash -c 'echo -ne "{}\t\t\t" && ruby -c {}' \;
syntax_ruby_2-3:
stage: syntax
image: ruby:2.3-alpine
script:
- ruby -v
- find . -name '*\.rb' -exec bash -c 'echo -ne "{}\t\t\t" && ruby -c {}' \;
lint_ruby:
stage: linting
image: ruby:2.4-alpine
script:
- gem install rubocop --no-ri --no-rdoc
- rubocop -l -f s
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