-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
jobs vs. matrix: What's the difference? #1500
Comments
Wondering the same myself. One difference I just found: Changing "matrix" to "jobs" and running "travis lint" results in
|
Hi @vinniefalco @jab we're working on that reference. In the meantime you can find some info here on jobs and stages https://docs.travis-ci.com/user/build-stages/ and some info on builds matrixes here https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix Cheers |
Hi everyone! As @plaindocs mentioned, we're working on getting the reference updated via #1476 At the moment, both Thanks so much for the question! |
Hello everyone!! How can I use a folder created in a previous stage on the next stage? For example, 1 stage is build, which will generate a dist folder, 2 stage should deploy that folder. This is my code:
I hope you guys can help me, I really need this. NOTE: anything to say about the file configuration, don't hesitate to say it, I'm totally new with this. |
Do these overwrite each other? If i have both |
In essence, yes. |
According to this thread, `matrix:include` and `jobs:include` overwrite eachother, so you cannot use both in the same file: travis-ci/docs-travis-ci-com#1500
I'm reopening this as a focused subset of #1476 that needs attention specifically. |
|
@abitrolly i believe your mistake is to put two os in one job. Just try to split os between two jobs inside one stage.
|
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 |
Where the hell does "no environment variables set" come from when not using |
Not great that stalebot closed this, it's been confusing me for ages. Maybe the best thing is to open a PR with an incomplete doc to avoid this. |
I can't find a reference of all travis.yml keywords. What is the difference between
jobs
andmatrix
?The text was updated successfully, but these errors were encountered: