Travis-CI is so out of date that if you want something as simple as libsdl2-dev you need to enable sudo and use the huge VM environment instead of the containers that boot in a few seconds.