Sha256: 787bae458b876e12c1584468326ccab50f732b7353656f69fcc0b6338a779ec4

Contents?: true

Size: 648 Bytes

Versions: 3

Compression:

Stored size: 648 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 build pdground.gemspec
  - gem install dpl
  - dpl --provider=rubygems --api-key=$RUBYGEMS_KEY

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pdground-0.1.3 .gitlab-ci.yml
pdground-0.1.2 .gitlab-ci.yml
pdground-0.1.1 .gitlab-ci.yml