Sha256: 97047647ed2263308c793f65a3046d8dfdac775644f4276db5bf3def001ae007

Contents?: true

Size: 959 Bytes

Versions: 29

Compression:

Stored size: 959 Bytes

Contents

stages:
  - static_analysis
  - security_test
#  - behavior_test
  - release

image: ruby:2.4.0

cache:
  key: "$CI_BUILD_NAME"
  paths:
    - vendor/bundle

before_script:
  - bundle install --jobs=4 --with development

rubocop:
  stage: static_analysis
  script: bundle exec rubocop

bundle_audit:
  stage: security_test
  script: bundle exec bundle-audit check --update

#rspec:
#  stage: behavior_test
#  script: bundle exec rspec

publish:
  stage: release
  script:
    - echo "---" > ~/.gem/credentials
    - COLON=':' && echo "${COLON}rubygems_api_key${COLON} ${RUBYGEMS_API_KEY}" >> ~/.gem/credentials
    - git config --global user.email "norad.dev@gmail.com"
    - git config --global user.name "Norad Release"
    - git config --global push.default simple
    - chmod 0600 ~/.gem/credentials
    - bundle exec rake build
    - bundle exec rake release:guard_clean
    - gem push `ls ./pkg/norad_cli-*.gem`
    - rm -fr ~/.gem
  only:
    - master

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
norad_cli-0.2.5 .gitlab-ci.yml
norad_cli-0.2.4 .gitlab-ci.yml
norad_cli-0.2.3 .gitlab-ci.yml
norad_cli-0.2.2 .gitlab-ci.yml
norad_cli-0.2.1 .gitlab-ci.yml
norad_cli-0.2.0 .gitlab-ci.yml
norad_cli-0.1.24 .gitlab-ci.yml
norad_cli-0.1.23 .gitlab-ci.yml
norad_cli-0.1.22 .gitlab-ci.yml
norad_cli-0.1.21 .gitlab-ci.yml
norad_cli-0.1.20 .gitlab-ci.yml
norad_cli-0.1.19 .gitlab-ci.yml
norad_cli-0.1.18 .gitlab-ci.yml
norad_cli-0.1.17 .gitlab-ci.yml
norad_cli-0.1.16 .gitlab-ci.yml
norad_cli-0.1.15 .gitlab-ci.yml
norad_cli-0.1.14 .gitlab-ci.yml
norad_cli-0.1.13 .gitlab-ci.yml
norad_cli-0.1.12 .gitlab-ci.yml
norad_cli-0.1.11 .gitlab-ci.yml