diff --git a/.travis.yml b/.travis.yml index cb672c3e3..de7efa2c4 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