mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
16 lines
695 B
YAML
16 lines
695 B
YAML
language: node_js
|
|
sudo: false
|
|
node_js:
|
|
- '4.1'
|
|
before_script:
|
|
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.7.tgz -O /tmp/mongodb.tgz
|
|
- tar -xvf /tmp/mongodb.tgz
|
|
- mkdir /tmp/data
|
|
- ${PWD}/mongodb-linux-x86_64-3.0.4/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --auth &> /dev/null &
|
|
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
|
|
- '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"
|