language: node_js
node_js:
- 8.11.1
env:
- CXX=g++-4.8
sudo: required
addons:
  chrome: stable
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
before_install:
#- npm install -g protractor@3.3.0
install:
- npm install -g npm@6.0.1
- npm install -g grunt-cli
- npm install -g bower
#- npm install selenium-webdriver
- npm install
- bower install
#- ./node_modules/protractor/bin/webdriver-manager update --standalone
before_script:
#- export CHROME_BIN=chromium-browser
#- export DISPLAY=:99.0
#- sh -e /etc/init.d/xvfb start
script:
- npm run build
- npm test
# - grunt e2e-test
notifications:
  slack:
    secure: iGLGsYyVIyKVpVVCskGh/zc6Pkqe0D7jpUtbywSbnq6l5seE6bvBVqm0F2FSCIN+AIC+qal2mPEWysDVsLACm5tTEeA8NfL8dmCrAKbiFbi+gHl4mnHHCHl7ii/7UkoIIXNc5UXbgMSXRS5l8UcsSDlN8VxC5zWstbJvjeYIvbA=

language: node_js
node_js:
- 8.11.1
dist: trusty
sudo: required
addons:
  chrome: stable
#before_install:
#- npm install -g protractor@3.3.0
cache:
  directories:
    - $HOME/.npm
install:
#- npm install -g npm@6.0.1
- npm install -g grunt-cli
- npm install -g bower
#- npm install selenium-webdriver
- npm install
- bower install
#- ./node_modules/protractor/bin/webdriver-manager update --standalone
#before_script:
#- export CHROME_BIN=chromium-browser
#- export DISPLAY=:99.0
#- sh -e /etc/init.d/xvfb start
script:
- npm run build
- npm test
# - grunt e2e-test
notifications:
  slack:
    secure: iGLGsYyVIyKVpVVCskGh/zc6Pkqe0D7jpUtbywSbnq6l5seE6bvBVqm0F2FSCIN+AIC+qal2mPEWysDVsLACm5tTEeA8NfL8dmCrAKbiFbi+gHl4mnHHCHl7ii/7UkoIIXNc5UXbgMSXRS5l8UcsSDlN8VxC5zWstbJvjeYIvbA=

Remove unnecessary Travis config info, set dist to trusty, don't install specific npm, cache npm.
Remove unnecessary Travis config info, set dist to trusty, don't install specific npm, cache npm.
