Fix travis build

Updated travis version and added installation of dependency
Should close #1122