language: node_js
cache: npm

matrix:
  include:
    - os: linux
      addons:
        chrome: stable
      node_js: 8.6
    - os: linux
      addons:
        chrome: stable
      node_js: node  # Latest
    - os: windows
      addons:
        grep: stable
      filter_secrets: false  # Secrets will otherwise break Windows builds
      node_js: 8.6
      script: npx run-s pretest test:ava
      env:
        - THREADS_WORKER_INIT_TIMEOUT=30000
    - os: windows
      addons:
        grep: stable
      filter_secrets: false  # Secrets will otherwise break Windows builds
      node_js: latest
      script: npx run-s pretest test:ava

env:
  - THREADS_WORKER_INIT_TIMEOUT=15000

script:
  - npm test

language: node_js
cache: npm

matrix:
  include:
    - os: linux
      addons:
        chrome: stable
      node_js: 8.6
    - os: linux
      addons:
        chrome: stable
      node_js: node  # Latest
    - os: windows
      addons:
        grep: stable
      filter_secrets: false  # Secrets will otherwise break Windows builds
      node_js: 8.6
      script: npm run test:ava
      env:
        - THREADS_WORKER_INIT_TIMEOUT=30000
    - os: windows
      addons:
        grep: stable
      filter_secrets: false  # Secrets will otherwise break Windows builds
      node_js: latest
      script: npm run test:ava

env:
  - THREADS_WORKER_INIT_TIMEOUT=15000

script:
  - npm test

Fix Travis config for Windows
Fix Travis config for Windows
