message: using ci instead of install
diff: @@ -4,9 +4,8 @@ language: node_js
  node_js:
  - '9'
  install:
  -# - npm i -g npm@latest
  -- npm install
  -before_script:
  +- npm i -g npm@latest
  +- npm ci
  - git config --global user.email "travis@travis-ci.org"
  - git config --global user.name "Travis CI"
  script: npm run test:travis
  @@ -21,35 +20,30 @@ before_deploy:
  jobs:
  include:
  - stage: test
  - script: npm run test:travis
  env : BROWSER=chrome
  os: linux
  addons:
  chrome: stable
  # - stage: test
  - # script: gulp travis-test
  # env : BROWSER=chrome
  # os: linux
  # addons:
  # chrome: beta
  # - stage: test
  - # script: gulp travis-test
  # env : BROWSER=firefox
  # os: linux
  # addons:
  # firefox: latest
  # - stage: test
  - # script:
  + # before_script:
  # # needs an audio output device to run
  # - HOMEBREW_NO_AUTO_UPDATE=1 brew install Caskroom/cask/soundflower
  - # - gulp travis-test
  # env : BROWSER=safari
  # os: osx
  # - stage: test
  - # script:
  + # before_script:
  # # needs an audio output device to run
  # - HOMEBREW_NO_AUTO_UPDATE=1 brew install Caskroom/cask/soundflower
  - # - gulp travis-test
  # env : BROWSER=safari
  # os: osx
  # # test on an older safari
  @@ -64,6 +58,7 @@ jobs:
  api_key: $NPM_TOKEN
  tag: next
  on:
  + # check the git diff
  repo: Tonejs/Tone.js
  branch: dev
  # publish without @next when pushing on master
  @@ -85,6 +80,5 @@ jobs:
  # cache node_modules to speed up build
  cache:
  directories:
  - # - node_modules
  - # - gulp/node_modules
  + - node_modules
  - $HOME/Library/Caches/Homebrew
  