codecombat/.travis.yml

34 lines
663 B
YAML
Raw Normal View History

sudo: false
2014-01-27 21:28:21 -05:00
language: node_js
node_js:
2015-12-04 20:04:35 -05:00
- 5.1.1
addons:
apt:
sources:
- mongodb-upstart
packages:
- mongodb-org-server
cache:
directories:
- node_modules
- bower_components
before_install:
2015-10-21 23:52:16 -04:00
- "gem install sass"
2015-10-22 10:24:43 -04:00
- export COCO_TRAVIS_TEST=1
- npm install -g npm@latest
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- "node index.js --unittest &"
- "sleep 10" # to give node a chance to start
script:
- "./node_modules/jasmine-node/bin/jasmine-node test/server/ --coffee --captureExceptions"
- "./node_modules/karma/bin/karma start --browsers Firefox --single-run --reporters progress"