habitica-self-host/.travis.yml
2015-10-29 16:35:02 +01:00

13 lines
389 B
YAML

language: node_js
sudo: false
services:
- mongodb
node_js:
- '4.1'
before_script:
- 'npm install -g grunt-cli mocha'
- cp config.json.example config.json
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
- "export DISPLAY=:99"
after_script:
- "./node_modules/.bin/lcov-result-merger 'coverage/**/*.info' | ./node_modules/coveralls/bin/coveralls.js"