We have implemented the CI system with Travis CI in our open source JavaScript enchant.js project. https://github.com/wise9/enchant.js
We like the qunit tests and we run them with grunt.js (npm), but it does not work on Travis CI with this error:
<WARN> PhantomJS timed out, possibly due to a missing QUnit start() call. Use --force to continue. </WARN>
The full error message is here: https://travis-ci.org/wise9/enchant.js/builds/4016842
The strange thing is, every time I run the grunt command, a timeout error occurs in different tests, and sometimes all tests pass (in rare probability)
.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" } }
Does anyone know how to solve this problem?
sidestepism
source share