@ -85,6 +85,7 @@ before_install:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start -v --pidfile ./tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1920x1080x16"
- "echo `xdpyinfo -display :99 | grep 'dimensions' | awk '{ print $2 }'`"
- nvm install v0.12.9
- travis_retry npm install
# We need phantomjs 2.0 to get tests passing
@ -56,7 +56,8 @@
"yaml-loader": "^0.1.0"
},
"scripts": {
"test": "npm run webpack && npm run karma",
"pretest": "npm run webpack",
"test": "npm run karma",
"karma": "./scripts/karma-runner.js",
"postinstall": "./node_modules/.bin/bower install --config.interactive=false",
"webpack": "./node_modules/.bin/webpack --colors --progress",