[travis] no longer building with 5.12 and 5.10

The required modules don't work with these Perl versions, so removing them
from the build config.