Sha256: 49e17186f45c74c8e44481802a0620b7e19ebf343cfa7b27a7d0a532d0fa0928

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

image: "ruby:2.4"

stages:
  - test
  - publish
# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script:
  - ruby -v 
  - gem install bundler  --no-ri --no-rdoc    
  - bundle install

# Optional - Delete if not using `rubocop`
rubocop:
  stage: test
  script:
  - rubocop

rspec:
  stage: test
  script:
  - rspec spec

# Use dpl to publish the tem
rubygems:
  stage: publish
  only: 
  - master
  environment: 
    name: rubygems
    url: https://rubygems.org/gems/pdground
  script:
  - gem install dpl
  - dpl --provider=rubygems --api-key=$RUBYGEMS_KEY

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pdground-0.1.0 .gitlab-ci.yml