COVERALLS_REPO_TOKEN
和repo_token
都设置为环境变量,并且我知道它们是正确的,因为TravisCI passes my develop branch并将结果成功发送到Coveralls.io:OK
Destroying test database for alias 'default'...
Submitting coverage to coveralls.io...
Coverage submitted!
Job ##40.1
https://coveralls.io/jobs/61852774
The command "docker-compose -f docker-compose.yml -f docker-compose.override.yml run -e COVERALLS_REPO_TOKEN web sh -c "coverage run ./src/manage.py test src && flake8 src && coveralls"" exited with 0.
如何使TravisCI识别我的COVERALLS_REPO_TOKEN对于它运行的请求请求?我从TravisCI收到此错误,因为它试图运行请求请求Coveralls.exception.CoverallsException:不在TravisCI上。您必须在.coveralls.yml中提供repo_token或设置...
Defining Variables in Repository Settings
类似地,我们不会将这些价值提供给不受信任的版本,来自另一个存储库的拉取请求触发。