Sha256: f2c8264a70f3b3ab21247bd904b891463ab7d76c1922f6547caa4df359fbafa9

Contents?: true

Size: 848 Bytes

Versions: 1

Compression:

Stored size: 848 Bytes

Contents

image: ruby:2.3.1

before_script:
  - ruby -v
  - which ruby
  - gem install bundler --no-ri --no-rdoc
  - bundle install --jobs $(nproc)  "${FLAGS[@]}"

test:
  script:
    - bundle exec rake test

rubocop:
  script:
    - rubocop

pages:
  only:
    - master
    - gitlab-pages-yard-coverage
  script:
    - gem install yard
    - bundle exec yard
    - bundle exec rake test
    - mkdir public
    - mv /builds/izwick-schachter/atd/coverage public/coverage
    - mv /builds/izwick-schachter/atd/doc public/YARD
    - mkdir public/YARD/coverage
    - touch public/YARD/coverage/index.html
    - yard stats --list-undoc >> public/YARD/coverage/index.html
    - ruby -ne 'puts "<span>#{$_}</span><br>#{"<br>" if $_.delete("\n")[-1, 1] == ":"}"' -i public/YARD/coverage/index.html
    - ls -R -a --ignore .git
  artifacts:
    paths:
      - public

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atd-0.4.0 .gitlab-ci.yml