Properly pin dependencies and exclude certain builds in travis.