bitbucket-pipelines.yml in log_toolbox-1.0.0 vs bitbucket-pipelines.yml in log_toolbox-1.2.0
- old
+ new
@@ -1,20 +1,22 @@
-image: ruby:2.4.1
+image: ruby:2.6.3
pipelines:
default:
- step:
script:
- git archive --remote=git@bitbucket.org:guideinvestimentos/rails_defaults.git HEAD .rubocop.yml | tar -x
+ - gem update bundler
- bundle install
- gem install rubocop
- rspec -fdoc
- rubocop .
branches:
master:
- step:
script:
+ - mkdir -p ~/.gem
- gem build log_toolbox.gemspec
- curl -u $RUBYGEMS_USERNAME:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials
- chmod 0600 ~/.gem/credentials
- gem push $(ls *.gem)