mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-23 22:12:32 -05:00
32 lines
569 B
YAML
32 lines
569 B
YAML
sudo: false
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
- 5.1.1
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- mongodb-upstart
|
|
packages:
|
|
- mongodb-org-server
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
- bower_components
|
|
|
|
before_install:
|
|
- 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 15" # to give node a chance to start
|
|
|
|
script:
|
|
- "./node_modules/karma/bin/karma start --browsers Firefox --single-run --reporters progress"
|
|
- "npm run jasmine"
|