Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
charlytron opened this issue Feb 21, 2020 · 4 comments
Open

Comments

@charlytron
Copy link

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
Copy link

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
Copy link

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

@gauravdhim1990
Copy link

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

@gauravdhim1990
Copy link

use this below and it's run successfully

script:

  • docker run -e CI=true USERNAME/docker-react npm run test

language: generic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants