language: node_js
dist: trusty
addons:
  chrome: stable
notifications:
  email:
    on_success: never
    on_failure: change

jobs:
  include:
    - node_js:
        - "6.9.2"
      before_install:
        - git submodule update --init --recursive
        - git fetch origin master:refs/remotes/origin/master --depth=1
      install:
        - npm install
      script:
        - npm run ci
    - node_js:
        - "10"
      before_install:
        - git submodule update --init --recursive
        - git fetch origin master:refs/remotes/origin/master --depth=1
        - rm npm-shrinkwrap.json
      install:
        - npm ci
      script:
        - npm run ci

language: node_js
dist: trusty
addons:
  chrome: stable
notifications:
  email:
    on_success: never
    on_failure: change

jobs:
  include:
    - node_js:
        - "6.9.2"
      before_install:
        - git submodule update --init --recursive
        - git fetch origin master:refs/remotes/origin/master --depth=1
      install:
        - npm install
      script:
        - npm run ci
    - node_js:
        - "10"
      before_install:
        - git submodule update --init --recursive
        - git fetch origin master:refs/remotes/origin/master --depth=1
        - mv npm-shrinkwrap.json.backup
      install:
        - npm ci
      before_script:
        - mv npm-shrinkwrap.json.backup npm-shrinkwrap.json
      script:
        - npm run ci

Use hooks to rename npm-shrinkwrap.json while testing with Node.js 10
Use hooks to rename npm-shrinkwrap.json while testing with Node.js 10
