Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
To run rails with bitbucket pipeline CI
# This is a sample build configuration for Ruby.
# Check our guides at for more examples.
# 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.2.4
depth: 3
- step:
script: # Modify the commands below to build your repository.
- apt-get update
- apt-get install -y build-essential libpq-dev nodejs
- bundle install
- bundle exec rake db:migrate RAILS_ENV=test
- bundle exec rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment