Reordering travis commands, so that requirements are installed before py.test is run