2013-09-29 14:31:35 +00:00
|
|
|
language: node_js
|
2015-10-29 15:35:02 +00:00
|
|
|
sudo: false
|
|
|
|
|
services:
|
|
|
|
|
- mongodb
|
2013-09-29 14:31:35 +00:00
|
|
|
node_js:
|
2015-10-29 15:11:56 +00:00
|
|
|
- '4.1'
|
2013-09-14 00:00:35 +00:00
|
|
|
before_script:
|
2014-01-15 19:11:29 +00:00
|
|
|
- 'npm install -g grunt-cli mocha'
|
2013-12-25 19:17:05 +00:00
|
|
|
- cp config.json.example config.json
|
2015-03-26 21:37:25 +00:00
|
|
|
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
|
2015-04-05 01:45:36 +00:00
|
|
|
- "export DISPLAY=:99"
|
2015-06-09 08:21:54 +00:00
|
|
|
after_script:
|
2015-06-09 11:52:20 +00:00
|
|
|
- "./node_modules/.bin/lcov-result-merger 'coverage/**/*.info' | ./node_modules/coveralls/bin/coveralls.js"
|