# Use the fully virtualised infra not for sudo # https://docs.travis-ci.com/user/reference/overview/#Virtualization-environments sudo: required dist: trusty language: node_js cache: yarn node_js: - '8' - '10' - '12' before_install: # Use newer yarn than that pre-installed in the Travis image. - curl -sSfL https://yarnpkg.com/install.sh | bash - export PATH="$HOME/.yarn/bin:$PATH" install: - yarn install --frozen-lockfile script: - yarn test