【发布时间】:2015-06-03 02:18:31
【问题描述】:
我正在使用 Travis CI 为 Typescript 项目自动进行单元测试。一切都在本地运行良好,但在 Travis 上,最后会弹出以下错误消息:
Running "mocha:test" (mocha) task
Testing: Tests/tests.html
Warning: PhantomJS timed out, possibly due to a missing Mocha run() call. Use --force to continue.
https://travis-ci.org/FullScreenShenanigans/ChangeLinr/builds/58349376
.travis.yml:
language: node_js
node_js:
- "0.12"
before_script:
npm install grunt grunt-cli grunt-contrib-copy grunt-contrib-uglify grunt-contrib-clean grunt-zip
script:
grunt
我在这里做错了吗?
【问题讨论】:
标签: typescript phantomjs mocha.js travis-ci