language: node_js
node_js: '4.3'
cache:
  directories:
    - node_modules
script:
  - npm test
  - make SETTINGS_FILE=settings/chrome-prod.json dist/$(date +'%Y%m%d')-chrome-prod.zip
  - make SETTINGS_FILE=settings/chrome-stage.json dist/$(date +'%Y%m%d')-chrome-stage.zip
  - make SETTINGS_FILE=settings/firefox-prod.json dist/$(date +'%Y%m%d')-firefox-prod.xpi
  - make SETTINGS_FILE=settings/firefox-stage.json dist/$(date +'%Y%m%d')-firefox-stage.xpi
addons:
  artifacts:
    paths:
      # Upload all built extension packages
      - $(ls dist/*.zip dist/*.xpi | tr "\n" ":")

language: node_js
node_js: '6.2'
cache:
  directories:
    - node_modules
script:
  - npm test
  - make SETTINGS_FILE=settings/chrome-prod.json dist/$(date +'%Y%m%d')-chrome-prod.zip
  - make SETTINGS_FILE=settings/chrome-stage.json dist/$(date +'%Y%m%d')-chrome-stage.zip
  - make SETTINGS_FILE=settings/firefox-prod.json dist/$(date +'%Y%m%d')-firefox-prod.xpi
  - make SETTINGS_FILE=settings/firefox-stage.json dist/$(date +'%Y%m%d')-firefox-stage.xpi
addons:
  artifacts:
    paths:
      # Upload all built extension packages
      - $(ls dist/*.zip dist/*.xpi | tr "\n" ":")

Use Node v6.2 on Travis
Use Node v6.2 on Travis

This keeps things consistent with the version of Node used by h:

    https://github.com/hypothesis/h/commit/cc71f6c571829344e1f50a05b33504a2d42725d4
