box: ruby:2.4.1 build: steps: - bundle-install - script: name: notify CodeClimate code: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter - script: name: env code: | env - script: name: rspec code: | ./cc-test-reporter before-build bundle exec rspec ./cc-test-reporter after-build --exit-code $? deploy: steps: - bundle-install - add-ssh-key: keyname: GITHUB_KEY - wercker/add-to-known_hosts@2.0.1: hostname: github.com fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 type: rsa - script: name: configure git code: | git config --global user.email "ymarquet@gmail.com" git config --global user.name "StupidCodefactory" git config --global push.default simple git push --set-upstream origin master - script: name: configure gem code: | echo -e "---\n:rubygems_api_key: $GEM_API_KEY" >> ~/.gem/credentials chmod 0600 ~/.gem/credentials - script: name: configure bump and tag code: | bundle exec gem bump - script: name: configure release code: | bundle exec gem release