# This is a sample build configuration for Ruby. # Check our guides at https://confluence.atlassian.com/x/VYk8Lw 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 clone: depth: 3 pipelines: branches: master: - 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