# This references the default Ruby container from # the Docker Hub. # https://registry.hub.docker.com/_/ruby/ # If you want to use a specific version you would use a tag: # ruby:2.2.2 box: drecom/centos-ruby:2.3.1 # You can also use services such as databases. Read more on our dev center: # http://devcenter.wercker.com/docs/services/index.html # services: # - postgres # http://devcenter.wercker.com/docs/services/postgresql.html # - mongodb # http://devcenter.wercker.com/docs/services/mongodb.html default: &default after-steps: - script: name: set variables code: | # NOTE: override .ruby-version in pretty-slack-notify export RBENV_VERSION=2.3.1 - script: name: remove all vms code: vagrant destroy -f - wantedly/pretty-slack-notify: webhook_url: $SLACK_WEBHOOK_URL username: wercker_build build: steps: build-centos65: <<: *default steps: - script: name: setup code: ./ci/setup.sh - bundle-install: jobs: 4 - script: name: build CentOS 6.5 code: ./ci/build.sh centos65 build-centos70: <<: *default steps: - script: name: setup code: ./ci/setup.sh - bundle-install: jobs: 4 - script: name: build CentOS 7.0 code: ./ci/build.sh centos70 build-debian8: <<: *default steps: - script: name: setup code: ./ci/setup.sh - bundle-install: jobs: 4 - script: name: build Debian 8 code: ./ci/build.sh debian8