未能部署 Travis CI `Python`

failed to deploy Travis CI `Python`

尝试 运行 在 travis 中构建时出现以下错误。我是 travis 的新手,正在关注一些网站来为 Python 项目创建构建。

The command "coverage run -m pytest test.py" exited with 0.
3.23s$ coverage html -d docs/report/coverage/
The command "coverage html -d docs/report/coverage/" exited with 0.
after_success
0.17s$ coveralls
dpl_0
1.25s$ rvm $(travis_internal_ruby) --fuzzy do ruby -S gem install dpl
invalid option "--token="
failed to deploy

任何见解都会有所帮助,我在 .travis.yml 页面中看到了 secure 关键字,我想知道它是什么以及它的用途。如何在 windows 中生成 secure 密钥?

我想我找到了解决问题的方法。

我忘记在 .travis.yml 文件中提到 secure

env: global: secure: hash value `

我觉得我们可以直接在travis仓库页面直接提token值而不是yml文件。