Moved installation parts out of main Travis test script