Sha256: de94565c5aaabe6305e6544762f98a75c2218ebf13666fc6519afde759d1ef2e

Contents?: true

Size: 851 Bytes

Versions: 34

Compression:

Stored size: 851 Bytes

Contents

image: ruby:2.3.1
stages:
  - setup
  - test
  - deploy

setup:
  stage: setup
  allow_failure: true
  cache:
    key: gems
    paths:
      - vendor/bundle
  script:
  - apt-get update -qy
  - apt-get install -y nodejs
  - bundle install

rubocop-testing:
  stage: test
  allow_failure: true
  script:
  - gem install rubocop
  - rubocop --lint

security-testing:
  stage: test
  allow_failure: true
  script:
  - gem install brakeman
  - brakeman

rspec-testing:
  stage: test
  script:
  - bundle install
  - rspec

rubygems-deploy:
  stage: deploy
  allow_failure: false
  script:
  - bundle install
  - gem install rake
  - version=$(rake install | grep -o 'pkg/zuora_api-.*gem')
  - curl -u $USERNAME:$PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
  - gem push $version
  only:
  - master

Version data entries

34 entries across 34 versions & 3 rubygems

Version Path
zuora_api-1.6.28 .gitlab-ci.yml
zuora_api-1.6.255 .gitlab-ci.yml
zuora_api-1.6.26 .gitlab-ci.yml
zuora_api-1.6.254 .gitlab-ci.yml
zuora_api-1.6.253 .gitlab-ci.yml
zuora_api-1.6.252 .gitlab-ci.yml
zuora_api-1.6.251 .gitlab-ci.yml
zuora_api-1.6.25 .gitlab-ci.yml
zuora_api-1.6.24 .gitlab-ci.yml
zuora_api-1.6.23 .gitlab-ci.yml
zuora_api-1.6.22 .gitlab-ci.yml
zuora_api-1.6.21 .gitlab-ci.yml
zuora_api-1.6.20 .gitlab-ci.yml
zuora_api-1.6.19 .gitlab-ci.yml
zuora_api-1.6.18 .gitlab-ci.yml
zuora_api-1.6.17 .gitlab-ci.yml
zuora_api-1.6.16 .gitlab-ci.yml
zuora_api-1.6.15 .gitlab-ci.yml
zuora_api-1.6.14 .gitlab-ci.yml
zuora_api-1.6.13 .gitlab-ci.yml