-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Document language: generic
#910
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
Comments
There are a few different ways to end up in the same place as |
@acnagy IMO, yes, all except for |
There is no `minimal` language. Due to travis-ci/travis-ci#4895, it will fallback to `ruby`, which certainly isn't what we want. `generic` is an undocumented (travis-ci/docs-travis-ci-com#910) language that serves the desired purpose.
There is no `minimal` language. Due to travis-ci/travis-ci#4895, it will fallback to `ruby`, which certainly isn't what we want. `generic` is an undocumented (travis-ci/docs-travis-ci-com#910) language that serves the desired purpose.
Is there a difference between minimal and generic for language? Any update on adding documentation for either of these languages? It seems that minimal is no longer supported, is that correct? |
Apparently there's |
OK, it looks like This comment suggests that Ruby is the default if you don't use generic, so I imagine the build will be a little slower. Finally, the only documentation mention of |
We've introduced a language tag switch and now As Anna mentioned, And we're working on documenting this option in our language and infrastructure reference docs. Thanks much for your patience y'all! |
As an extra note - this time claryfing Using |
@MariadeAnton just to clarify: is |
Somewhat related to #862 |
@Wilfred the image in which they run and default script commands run by Travis CI will be the same. The difference comes in with https://github.com/travis-ci/travis-build/blob/master/lib/travis/build.rb#L41-L42 |
* Use Docker to build on xenial. * Fix script. * Set environment variables. * Use `language: minimal` instead of `cpp` as it overrides ${CXX}. travis-ci/docs-travis-ci-com#910 (comment) * sudo is unnecessary.
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Still relevant |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Can you please reopen or link me to the docs @BanzaiMan ? |
I've just started using Travis CI and I was a bit confused by the choice of languages. I run all CI steps within docker containers, so I was looking for a After reading the full list of languages (as defined here) I assumed it was not possible to run travis builds without dependencies for a specific language. After quite a bit of digging/search I found there is also As a new user to travis I definitely feel it would be beneficial if there was a full list of |
For those coming here from search engines (Google, Yahoo, DuckDuckGo...) The pull request #1989 by @plaindocs added documentation for this. See this page: https://docs.travis-ci.com/user/languages/minimal-and-generic/ |
Would be nice if these were linked somehow in https://docs.travis-ci.com/user/languages/. Took me a wild roundabout way to finally find that doc page. |
I agree with @dwijnand. (I had meant to make a pull request for this, but I couldn't figure out exactly how to do it, so I gave up!) Edit: Perhaps we just need to add an entry to this file: Minimal And Generic: "/user/languages/minimal-and-generic/" |
So is the "language: generic" image a superset of all the various "language: foo" images, or is it somewhere in between minimal and the language-specific images? In this case we're running tests in docker, but before firing up docker we're running a node-based dockerfile linter, so we need access to the "npm" tool to install it. Unfortunately "language: minimal" doesn't work because it doesn't have npm. So what is the best "language: " tag to choose here? |
The documentation is also wrong about stating only |
The only current mention of this is in multi-os doc.
This is worth mentioning either as a section the languages page, or a page of its own.
The text was updated successfully, but these errors were encountered: