habitica-self-host/.travis.yml

18 lines
752 B
YAML
Raw Normal View History

2013-09-29 14:31:35 +00:00
language: node_js
node_js:
2015-10-29 15:11:56 +00:00
- '4.1'
2015-10-29 16:12:53 +00:00
before_install:
- "npm install -g npm@3"
2015-10-29 16:12:53 +00:00
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "sudo wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.4.tgz -O /tmp/mongodb.tgz"
- "sudo tar -xvf /tmp/mongodb.tgz"
- "sudo mkdir /tmp/data"
- "sudo ${PWD}/mongodb-linux-x86_64-3.0.4/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 &> /dev/null &"
before_script:
- '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:
- "./node_modules/.bin/lcov-result-merger 'coverage/**/*.info' | ./node_modules/coveralls/bin/coveralls.js"