Sha256: 14aaba575ca4089d4165ef439382c4b91dfec05f378800e3142e97bac35380f9

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 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:2.4:
  stage: test
  script:
  - rspec spec

rspec:2.0:
  image: "ruby:2.0"
  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

1 entries across 1 versions & 1 rubygems

Version Path
pdground-0.1.4 .gitlab-ci.yml