-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Environment
- DalekJS version: DalekJS CLI Tools Version: 0.0.4, DalekJS local install: 0.0.8
- Operating System: Linux, Travis CI
- Running Browser: PhantomJS
- OS: linux unknown 64bit
- Browser Version: 1.9.7
What
✘ TEST - "Fail test" FAILED
0/1 assertions passed. Elapsed Time: 0.42 sec
The command "dalek tests/failTest.js" exited with 0.
As you can see in the log file, the test is failed. However dalek returns the status 0. Therefore, in Travis CI lit the green light.
The standard Unix exit code of "0" means the build passed; everything else is treated as failure.
Where
The Build: https://travis-ci.org/vergissberlin/dalekjs-travisci/builds/27998721
Idea
That might solve the problem:
process.exit(exitCode);Thank you,
André