We've introduced CI system with travis CI to our open source project enchant.js on JavaScript. https://github.com/wise9/enchant.js
We like qunit tests and we're running them with grunt.js (npm), but it fails on Travis CI with an error like this:
<WARN> PhantomJS timed out, possibly due to a missing QUnit start() call. Use --force to continue. </WARN>
Full error message is here: https://travis-ci.org/wise9/enchant.js/builds/4016842
The strange thing is, each time I run grunt
command, timeout error causes in different tests, and sometimes all of tests pass (in rare probablity though)
.travis.yml
language: node_js
node_js:
- 0.8
before_install:
- phantomjs --version
package.json
{
"name": "enchant.js",
"version": "0.6.2",
"engines": {
"node": ">=0.8"
},
"scripts": {
"test": "grunt default --verbose"
},
"devDependencies": {
"grunt": "0.3.17",
"grunt-exec": "0.3.0"
}
}
Anyone know how to solve this problem?
asyncTest
never returns when run in PhantomJS. Got any workarounds? My question / PhantomJS bug report – Fagin