language: node_js
node_js:
  - "node"
script:
  - npm test
addons:
  chrome: stable
  firefox: latest

matrix:
  include:
    # https://docs.travis-ci.com/user/reference/linux/
    - os: linux
      dist: bionic
      env:
        # Note on Linux, non-headless Chrome fails with "Chrome failed to
        # start", and non-headless Firefox fails with "can't kill an exited
        # process", so we only test headless for now.
        TACHOMETER_E2E_TEST_BROWSERS=chrome-headless,firefox-headless

    # https://docs.travis-ci.com/user/reference/osx/
    - os: osx
      osx_image: xcode12 # macOS 10.15
      env:
        TACHOMETER_E2E_TEST_BROWSERS=safari
      before_script:
        # Required to enable Safari remote automation.
        - sudo safaridriver --enable

language: node_js
node_js: '10'
script:
  - npm test
addons:
  chrome: stable
  firefox: latest

matrix:
  include:
    # https://docs.travis-ci.com/user/reference/linux/
    - os: linux
      dist: bionic
      env:
        # Note on Linux, non-headless Chrome fails with "Chrome failed to
        # start", and non-headless Firefox fails with "can't kill an exited
        # process", so we only test headless for now.
        TACHOMETER_E2E_TEST_BROWSERS=chrome-headless,firefox-headless

    # https://docs.travis-ci.com/user/reference/osx/
    - os: osx
      osx_image: xcode12 # macOS 10.15
      env:
        TACHOMETER_E2E_TEST_BROWSERS=safari
      before_script:
        # Required to enable Safari remote automation.
        - sudo safaridriver --enable

Use Node.js v10 on Travis
Use Node.js v10 on Travis
