StephenGrider / DockerCasts

Companion repo to a course on Udemy.com
781 stars 1.38k forks source link

Ch 7: "No Gemfile found skipping bundle install" and other errors #9

Open charlytron opened 4 years ago

charlytron commented 4 years ago

Thank-you for teaching this course, Stephen (and for what I've learned so far).

The feedback from travis-ci was a bit of a surprise, failing the .yaml file we provided. The job log did indicate tests passing locally.

I can't imagine we pushed a flawed .yaml, but does build config validation show that new conditions were added to travis since you published ch. 7?

root: deprecated key sudo (The key sudo has no effect anymore.)"

root: missing os, using the default linux

root: missing language, using the default ruby

It would be useful to know why the job log shows that Ruby is not finding the gemfile. Thanks again.

gnakatani commented 3 years ago

Yeah, I got the gemfile error, too. Add this to your .travis.yml: language: generic

=== I got the idea from: https://medium.com/@desfocado/how-to-get-travis-to-work-with-no-build-language-9f4c03ed68b1

=== Full disclosure, my full project isn't running yet. But I did get past the gemfile.

gauravdhim1990 commented 2 years ago

Today i am also facing the same issue. Travis CI is not able build for me "no gemfile found skipping bundle install"

gauravdhim1990 commented 2 years ago

I tried to run adding the below line and but it still did not worked language: generic

gauravdhim1990 commented 2 years ago

use this below and it's run successfully

script:

language: generic