Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Nicole Crescenzi
PLUS
Nicole Crescenzi
Courses Plus Student 45 Points

Setup TravisCI in Rails app that uses Docker

Can anyone help me setup TravisCI on a rails app using docker?

I have used TravisCI a few times and it was fairly easy to setup not sure why Docker is not playing nice.

The command "bundle exec rake" exited with 1.
Done. Your build exited with 1.

This is the more common error I am getting on travis. I am on build #20 or so

my travis.yml file looks like

1   sudo: required
  1
  2 language: ruby
  3 rvm:
  4   - 2.4.0
  5 services:
  6   - docker
  7
  8
  9 before_install:
 10   - cp .env.example .env
 11   - docker-compose build
 12   - docker-compose up -d && docker ps