language: node_js
node_js:
 - "8"
 - "7"
 - "6"
 - "5.1"
before_script:
 - npm install grunt-cli -g
 - "export DISPLAY=:99.0"
 - "sh -e /etc/init.d/xvfb start"
 - sleep 5
script:
- grunt
- npm run test:unit
- npm run test:e2e
after_script:
 - npm list
cache:
 directories:
  - node_modules

language: node_js
node_js:
 - "7"
before_script:
 - npm install grunt-cli -g
 - "export DISPLAY=:99.0"
 - "sh -e /etc/init.d/xvfb start"
 - sleep 5
script:
- grunt
- npm run test:unit
- npm run test:e2e
after_script:
 - npm list
cache:
 directories:
  - node_modules

Set only 7 version of node to run tests in Travis CI
Set only 7 version of node to run tests in Travis CI
