Fixed incorrect method calls and dependencies in travis/