Travis-CI suite - final fight

Replaces #762, fixes #484.

Without the #627, javascript tests can't pass.