.rultor.yml in total-0.4.0 vs .rultor.yml in total-0.4.1
- old
+ new
@@ -1,23 +1,19 @@
+docker:
+ image: yegor256/rultor-image:1.9.1
assets:
rubygems.yml: yegor256/home#assets/rubygems.yml
-install: |-
- export GEM_HOME=~/.ruby
- export GEM_PATH=$GEM_HOME:$GEM_PATH
- bundle install
+install: |
+ pdd -f /dev/null
+ sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"
release:
script: |-
- bundle exec rake
- rm -rf *.gem
- sed -i "s/0\.0\.0/${tag}/g" total.gemspec
- git add total.gemspec
- git commit -m "Version set to ${tag}"
+ bundle exec rake clean test rubocop copyright
+ sed -i "s/0\.0\.0/${tag}/g" lib/total/version.rb
+ git add lib/total/version.rb
+ git commit -m "version set to ${tag}"
gem build total.gemspec
chmod 0600 ../rubygems.yml
gem push *.gem --config-file ../rubygems.yml
merge:
script: |-
- bundle exec rake
-deploy:
- script: |-
- echo 'Nothing to deploy'
- exit -1
+ bundle exec rake clean test rubocop copyright