# This is a sample build configuration for Ruby. | |
# Only use spaces to indent your .yml configuration. | |
# ----- | |
# You can specify a custom docker image from Docker Hub as your build environment. | |
image: ruby:2.4.0 | |
pipelines: | |
default: | |
- step: | |
caches: | |
- bundler | |
script: # Modify the commands below to build your repository. | |
- ruby --version | |
- bundler --version | |
- bundle install | |
- bundle exec rake spec | |
definitions: | |
caches: | |
bundler: ./vendor |