From b82d21f856499908aa6400f097df3367992586e1 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 7 Apr 2017 07:47:41 +0000 Subject: [PATCH] Install yarn when not there --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index cc364bca6..7b63a7070 100644 --- a/.travis.yml +++ b/.travis.yml @@ -192,6 +192,9 @@ before_install: if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then export JOBS=$((`sysctl -n hw.ncpu` + 1)) sudo mdutil -i off / + fi + - | + if [[ ! -f $(which yarn) ]]; then npm install -g yarn fi - export PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")