habitica-self-host/.travis.yml

17 lines
695 B
YAML
Raw Normal View History

2013-09-29 14:31:35 +00:00
language: node_js
sudo: false
2013-09-29 14:31:35 +00:00
node_js:
2015-10-29 15:11:56 +00:00
- '4.1'
before_script:
2015-10-29 15:41:54 +00:00
- 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'
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"