Heroku CI无法初始化CI构建环境,

时间:2018-08-27 05:31:51

标签: python django heroku heroku-ci

我正在为我的应用设置Heroku CI,但出现以下错误:无法创建测试运行。无法初始化CI构建环境,请重试。

问题是我不知道为什么。我的app.json设置如下:

{
  "environments": {
    "test": {
      "scripts": {
        "test-setup": "python manage.py flush --noinput && python manage.py migrate --settings=app.settings.heroku",
        "test": "python manage.py heroku --settings=app.settings.heroku"
      },
      "addons": [
          "heroku-postgresql:in-dyno",
          "heroku-redis:in-dyno"
      ],
      "buildpacks": [
        {
            "url": "https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-python"
        }
      ]
    }
  }
}

您知道什么可能导致此错误吗?

0 个答案:

没有答案
相关问题