Sha256: d0ce664fd38062fc3905e53d83615bc4513e32bb0b5e35aab32cecba983dcf1e

Contents?: true

Size: 859 Bytes

Versions: 1

Compression:

Stored size: 859 Bytes

Contents

image: ruby:2.7

stages:
  - test
  - publish

before_script:
  - bundle config jobs 8
  - bundle install --path=/tmp/bundler --quiet

rubocop:
  stage: test
  image: ruby:2.2
  script:
    - bundle exec rubocop

rspec_latest:
  stage: test
  image: ruby
  script:
    - bundle exec rspec

rspec_2.6:
  stage: test
  image: ruby:2.6
  script:
    - bundle exec rspec

rspec_2.5:
  stage: test
  image: ruby:2.5
  script:
    - bundle exec rspec

rspec_2.2:
  stage: test
  image: ruby:2.2
  script:
    - bundle exec rspec

publish_gem:
  stage: publish
  script:
    - mkdir -p ~/.gem
    - |
      cat << EOF > ~/.gem/credentials
      ---
      :rubygems_api_key: ${RUBYGEMS_API_KEY}
      EOF
    - chmod 0600 ~/.gem/credentials
    - gem build access_token_agent.gemspec
    - gem push $(find `pwd` -name "access_token_agent-*.gem")
  only:
    - master

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
access_token_agent-3.5.0 .gitlab-ci.yml