我在 circleci 上遇到 jasmine CI 的问题,以进行持续集成测试。每当我在本地开发机器上运行 jasmine 时,我都会使用bundle exec rake RAILS_ENV=test jasmine:ci
.
Puma 2.12.2 starting...
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://0.0.0.0:55786
jasmine server started
..........
10 specs, 0 failures
但是当相同的命令在 circleci 服务器上运行时,它会出现超时错误。
export RAILS_ENV="test"
export RACK_ENV="test"
bundle exec rake jasmine:ci --trace
** Invoke jasmine:ci (first_time)
** Invoke jasmine:require_json (first_time)
** Execute jasmine:require_json
** Invoke jasmine:require (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute jasmine:require
** Invoke jasmine:configure (first_time)
** Execute jasmine:configure
** Invoke jasmine:configure_plugins (first_time)
** Execute jasmine:configure_plugins
** Execute jasmine:ci
Puma 2.12.2 starting...
* Min threads: 0, max threads: 16
* Environment: test
* Listening on tcp://0.0.0.0:43088
Waiting for jasmine server on 43088...
jasmine server started command ((bundle exec rake jasmine:ci --trace)) took more than 10 minutes since last output
如果有人解决了类似的问题,请告诉我。如果我错过了添加任何特定配置或记录任何内容,也请让我知道它们。谢谢