language: node_js
node_js:
  - "0.12"

before_script:
  - npm run validate
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - npm start > /dev/null &
  - sleep 1 # give server time to start

script:
  - node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox
  - node_modules/.bin/protractor test/e2e/protractor.conf.js --browser=firefox

language: node_js
node_js:
  - "0.12"

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - npm start > /dev/null &
  - sleep 1 # give server time to start

script:
  - node_modules/.bin/jshint app/ --config .jshintrc --exclude app/bower_components
  - node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox
  - node_modules/.bin/protractor test/e2e/protractor.conf.js --browser=firefox

Update build config; remove ref to validate
Update build config; remove ref to validate
