Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Travis for OSX and Optimize #1160
There's actually no need to specify the operating system for every job, you only have to specify it as an override for the two jobs that are run on OSX. So I first reverted all that two-line nonsense back to a single line.
Second, I used the two-line syntax to actually install certain packages, i.e. Box2D, only for the jobs that require them. I've also wrote a slightly lengthier script to install only the needed depends for each compiler target. Finally, I've allowed OSX to fail using the syntax @fundies discovered in #1159, but fixed it to actually speed up the build.
This has all improved the build time significantly.
@fundies wrong, it is consistent. You are talking about two separate things, the build matrix, and included jobs. In your changes you actually completely removed the build matrix and made them all included jobs, which you didn't need to do, that's not how it works. We are not having the build matrix more than a single line for each job.
Further, this is actually how I am going to speed up the Travis build. This is the way that you can install a package only for a specific job, i.e. install Box2D just for the Box2D extension test and none of the other jobs. If Travis would cooperate I'd be able to finish this and show you.