From b357dfb243b8857e70426d1345895cabf9805441 Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Thu, 30 Apr 2020 17:34:59 +0800 Subject: [PATCH] :bug: Fix: travis-ci bug --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index cb672c3..de7efa2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,9 +22,7 @@ addons: - icnsutils #- xvfb 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" == "osx" ]]; then brew install git-lfs; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils; fi install: #- export DISPLAY=':99.0' @@ -39,6 +37,8 @@ script: #- yarn run pack && xvfb-maybe node_modules/.bin/mocha test/e2e - npm run release # - yarn run build:docs +before_script: +- git lfs pull branches: only: - master