---
language: node_js
node_js:
  - 6
  - 8
cache:
  directories:
  - node_modules
  - build/node_modules
install:
  npm i cross-env
  npm install
branches:
  only:
  - master
  - develop
  - travis-ci

---
language: node_js
node_js:
  - 6
  - 8
cache:
  directories:
  - node_modules
  - build/node_modules
install:
  sudo npm install cross-env
  npm install
branches:
  only:
  - master
  - develop
  - travis-ci

Add sudo to cross-env install
Add sudo to cross-env install
