Sha256: 94ae8174622d12f686a273147ae7394d8700708e4df3d59f45ffb0a5f54d0f32

Contents?: true

Size: 945 Bytes

Versions: 1

Compression:

Stored size: 945 Bytes

Contents

.rspec: &rspec
  stage: test
  tags:
    - docker
  before_script:
    - "echo 'gem: --no-document' > ~/.gemrc"
    - gem install bundler
    - 'git -v || apk --update add git'
    - bundle install -j $(nproc)
  script:
    - bundle exec rake

rspec ruby-2.4:
  image: ruby:2.4-alpine
  <<: *rspec

rspec ruby-2.5:
  image: ruby:2.5-alpine
  <<: *rspec

rspec ruby-2.6:
  image: ruby:2.6-alpine
  <<: *rspec

rspec ruby-2.7:
  image: ruby:2.7-rc-alpine
  <<: *rspec

rspec jruby-9.2:
  image: jruby:9.2-alpine
  <<: *rspec

release:
  stage: deploy
  image: ruby:2.6-alpine
  tags:
    - docker
  script:
    - "echo 'gem: --no-document' > ~/.gemrc"
    - gem install bundler
    - 'git -v || apk --update add git'
    - bundle install -j $(nproc)
    - 'ruby -ryaml -e "puts YAML.dump({rubygems_api_key: ENV.fetch(%{RUBYGEMS_API_KEY})})" > ~/.gem/credentials'
    - chmod 600 ~/.gem/credentials
    - bundle exec rake release
  only:
    - tags

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
envied-0.9.2.rc2 .gitlab-ci.yml