Attempt to make Travis configuration more modular