Add Travis utils and tests.