If .travis.yml has duplicate keys, all but the last one are silently dropped, with no error

I think that fixing this would be very helpful. I’ve wasted many hours because of a silly mistake in the yaml, as it is hard to spot this type of thing. Also use of both matrix: and jobs: is a similar problem, as whichever appears last cancels the other one.

Imprint