Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Test MySQL and various MariaDB versions on Travis #14
In order to do this, one needs to create a build matrix for Travis.
If you want the number of combinations reduced, just let me know what you want and I'll update the PR and resubmit. I believe this goes some way to satisfying the requirements of #1. How much more would you like to be implemented so that #1 can be considered complete?
This looks good, but I don't think we need to test the intersection of Perl version / MySQL version. We should just pick a single Perl version and test the various MySQL versions with that (that way, we aren't varying two things, just one thing).
There are some other versions of MySQL at https://dev.mysql.com/downloads/repo/apt/. I don't know if Travis lets you add new APT repos and install the software in them, though.
#1 is also about testing the database upgrade/migration stuff. So we'd need a small Mojolicious app and to try running that app (queuing a task) to make sure the database migration works.
This is a great start towards that though, thanks!
Yeah, you're right about doing all Perl and MySQL versions was a bit much. Do you have any particular Perl version preference for the MySQL version check? I was thinking either 5.24 or 5.26.
Travis allows new APT repos to be defined, so we can definitely test some other MySQL versions. I'll try to get MySQL versions 5.6, 5.7 and 8.0 as well as MariaDB versions 10.0 and 10.1 into the build matrix.