sudo: false
language: node_js
node_js:
  - "4"
  - "6"
  - "7"
  - "8"
env:
  - NPM_SCRIPT=test
  - NPM_SCRIPT=test:cli
matrix:
  fast_finish: true
  allow_failures:
    - env: NPM_SCRIPT=browserstack
  include:
    - node_js: "6"
      env: NPM_SCRIPT=browserstack
    - node_js: "6"
      env: NPM_SCRIPT=coverage
before_install:
  - true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJTVEFDS19VU0VSTkFNRT1icm93c2Vyc3RhY2txdW5pMQo=`
  - true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJTVEFDS19LRVk9SllzeHJrVWk5aGJGVndkdW44ZUsK=`
script:
  - npm run-script $NPM_SCRIPT
cache:
  yarn: true
  directories:
    - $HOME/.npm
    - $HOME/.cache
notifications:
  irc:
    channels:
      - "chat.freenode.net#jquery-dev"
    template:
      - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"

sudo: false
language: node_js
node_js:
  - "4"
  - "6"
  - "8"
env:
  - NPM_SCRIPT=test
  - NPM_SCRIPT=test:cli
matrix:
  fast_finish: true
  allow_failures:
    - env: NPM_SCRIPT=browserstack
  include:
    - node_js: "6"
      env: NPM_SCRIPT=browserstack
    - node_js: "6"
      env: NPM_SCRIPT=coverage
before_install:
  - true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJTVEFDS19VU0VSTkFNRT1icm93c2Vyc3RhY2txdW5pMQo=`
  - true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJTVEFDS19LRVk9SllzeHJrVWk5aGJGVndkdW44ZUsK=`
script:
  - npm run-script $NPM_SCRIPT
cache:
  yarn: true
  directories:
    - $HOME/.npm
    - $HOME/.cache
notifications:
  irc:
    channels:
      - "chat.freenode.net#jquery-dev"
    template:
      - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"

Drop Node 7 from CI.
Tests: Drop Node 7 from CI.

Node 7 has been unsupported by Node since Node 8 was released
(2017-05-30). This removes it from CI, though it will likely continue to
work in its current state for some additional period of time.
