From cf04ae5b901bc2e839cf986a7704e5973f857527 Mon Sep 17 00:00:00 2001 From: Matheus Fernandes Date: Sat, 21 Jan 2017 22:48:56 -0200 Subject: [PATCH] Ask Travis to install `yarn` on macOS --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9907a284..81486600 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,8 @@ addons: before_install: - mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn; fi install: - yarn