dist: trusty

language: node_js

node_js:
  - "8"
  - "10"
  - "node" # latest stable Node.js release

env:
  - YARNPKG_VERSION=1.10.1

branches:
  except:
    # These branches are used by bors-ng
    - staging.tmp
    - trying.tmp

notifications:
  email: false

before_install:
  # Use the yarnpkg installed by self because Travis' builtin yarn is not the latest.
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version ${YARNPKG_VERSION}
  - export PATH=$HOME/.yarn/bin:$PATH
  - which yarn # for debugging Travis
  - echo $PATH # for debugging Travis

script:
  - make ci -j 8

cache:
  yarn: true

dist: trusty

language: node_js

node_js:
  - "8"
  - "10"
  - "node" # latest stable Node.js release

env:
  - YARNPKG_VERSION=1.13.0

branches:
  except:
    # These branches are used by bors-ng
    - staging.tmp
    - trying.tmp

notifications:
  email: false

before_install:
  # Use the yarnpkg installed by self because Travis' builtin yarn is not the latest.
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version ${YARNPKG_VERSION}
  - export PATH=$HOME/.yarn/bin:$PATH
  - which yarn # for debugging Travis
  - echo $PATH # for debugging Travis

script:
  - make ci -j 8

cache:
  yarn: true

Update yarnpkg in CI to v1.13
Update yarnpkg in CI to v1.13

https://github.com/yarnpkg/yarn/releases
