This is extracted from #13816 to make that one simpler.
The travis matrix
and jobs
top level items are actually aliases for each other. The goal is to be able to specify not just the environment per job but also the os
(for #13816 ). So this PR moves the environment variables from the env.matrix
section to jobs.include
.
jobs
and build stages subsume the matrix functionality. IMHO this makes it clearer to add stages (as every item clearly references which stage it belongs to).
The before_install
, install
, etc. steps default to belonging to the test
stage and were moved up .