Travis-CI: run testsuite before compiling (build.pl)

build.pl currently needs 5.10, but it is useful to run the testsuite
also on perl < 5.10, even if build.pl fails. So we run the testsuite
before build.pl.