.gitlab-ci.yml 538 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
---
stages:
  - testing
ruby_syntax:
  stage: testing
  image: ruby:2.5
  script:
    - ruby -v
    - find . -name '*\.rb' -exec bash -c 'echo -ne "{}\t\t\t" && ruby -c {}' \;
ruby_lint:
  stage: testing
  image: ruby:2.5
  script:
14
    - gem install rubocop --no-document
15 16 17 18 19 20 21 22 23 24 25 26
    - rubocop -P -f s
yaml_lint:
  stage: testing
  image: python:3.6
  script:
    - pip3 install yamllint
    - yamllint -v
    - yamllint -s .
ruby_bundler:
  stage: testing
  image: ruby:2.5
  script:
27
    - gem install bundler --no-document
28
    - bundle install