I have 4 environments setup (https://github.com/retorquere/zotero-better-bibtex/blob/master/.travis.yml), but in the first stage, 5 jobs are being created (https://travis-ci.org/retorquere/zotero-better-bibtex/builds/416618282). It looks like job number 5 is the same as job number 1, but how do I get rid of this superfluous job?
hi, hi! Interesting… yeah, I see what you mean. I think it may have to do with where the script
section is defined, but I’d definitely check with support. Also, config.travis-ci.org might be helpful - it’s a newer tool for parsing and validating .travis.yml
configs
Interesting – I’m getting
[info] on root: :jobs is an alias for :matrix, using :matrix
[info] on language: missing :language, using the default ruby
which explains why I’m getting the ruby container, I’ll have to give the python container a spin.
In the end my problem turns out to be a peculiarity (to me in any case) of the new stages system; the build matrix I had created 4 jobs that had no script (which then immediately ended as if there were an empty script), and the one job which I had intended to function as the template for the build matrix. I’ve replaced the build matrix with 4 separate jobs each with their own env block, and that works.