Commit ee80ffb6 by Feanil Patel Committed by Bilal Ahmad

Make the ruby linking error go away.

The core issue was that if you don't provide an install step travis
tries to do its default action which generates a bunch of ruby code
that is linked to the ruby on the host system instead of the ruby in
the container.
parent 8a5b26c9
...@@ -7,9 +7,7 @@ language: ruby ...@@ -7,9 +7,7 @@ language: ruby
rvm: rvm:
- "1.9.3" - "1.9.3"
cache: bundler install:
before_install:
- docker-compose -f docker-compose-travis.yml up -d - docker-compose -f docker-compose-travis.yml up -d
script: script:
......
#!/bin/bash -xe #!/bin/bash -xe
. /edx/app/forum/forum_env . /edx/app/forum/forum_env
. /edx/app/forum/ruby_env
export MONGOHQ_URL="mongodb://mongo.edx:27017/cs_comments_service_test" export MONGOHQ_URL="mongodb://mongo.edx:27017/cs_comments_service_test"
cd /edx/app/forum/cs_comments_service cd /edx/app/forum/cs_comments_service
gem update bundler # Ensure we use the latest version of bundler. Travis' default version of outdated.
bundle install bundle install
bundle exec rspec bundle exec rspec
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment