language: node_js sudo: false cache: directories: - node_modules - bower_components - $(npm config get prefix)/bin/grunt-cli - $(npm config get prefix)/bin/bower node_js: - 4.1 before_script: - npm list -g grunt-cli --depth=0 || npm install -g grunt-cli - npm list -g bower --depth=0 || npm install -g bower - bower install # used for Firefox and Chrome to work - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - ./node_modules/protractor/bin/webdriver-manager update - echo "CURRENT VERSIONS" - npm list - bower list script: - npm run test-travis env: global: - secure: USct/xVaP0uwoaU3iXjr3u+42rWdjUPVLAkHQGlM5zhGBFwU0mkTkc54iNh5qHH0+u4VRZAG5KmBAzT+J7EcH1lRpX4zeBg4AhCJ6VZw3VeKSQdlH9kHqoBij0ROk+LetLTH33gY0HCERRN0j7TJVTftFbZhizECPS+/w7WFAQA= - secure: k0w8PD3DEWzgFb93zOvZMXAkNB7Fywg3bF//3OARA79BWcvEnr4N8iLXHApPcd5NegpqrPT7lFcgoSiW2ojtKLKXMH1lRx2xGI88Fd4wW45kfofEo98SIieYY9OZq/mWGPJr/MqsfPcBCu6ocMpH+LUEem3f55rgntyoYnIPodU= addons: sauce_connect: true