Sha256: 4d8b901fccae5fa38b2dd8fd06488bff78df3803d82ef1cc0a2c4192ef894975

Contents?: true

Size: 998 Bytes

Versions: 3

Compression:

Stored size: 998 Bytes

Contents

# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/ruby/tags/
image: ruby:2.4-alpine

cache:
  paths:
    - vendor/ruby # cache gems in between builds

before_script:
  - ruby -v # Print out ruby version for debugging
  - gem install bundler  --no-ri --no-rdoc # Bundler is not installed with the image
  # install nproc (coreutils) for bundle -j
  # install git for building the gemspec
  # install make, gcc for building gem native extension (commonmarker)
  # libc-dev for musl-dev dependency (stdlib.h) needed by gcc
  - apk --no-cache add coreutils git make gcc libc-dev
  - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
  - rake install # install the gem

rubocop:
  stage: test
  script:
    - rubocop

test:
  stage: test
  script:
    - rake test

pages:
  stage: deploy
  script:
    - yard doc
    - mkdir public
    - mv doc/* public/
  artifacts:
    paths:
      - public
  only:
    - master

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nvd_feed_api-0.2.0 .gitlab-ci.yml
nvd_feed_api-0.1.0 .gitlab-ci.yml
nvd_feed_api-0.0.3 .gitlab-ci.yml