Reworked dependency installations on travis to support python 3