updates travis to use master branch and fixes dependency bug