[travis] Work around pydata/pandas#7284, plus some general tidying