From bd0646fcce28ed7d19884ddd64a096b1c4a8a9cc Mon Sep 17 00:00:00 2001 From: James Barnett Date: Tue, 27 Feb 2018 21:10:23 +0000 Subject: Remove git-lfs from travis build script Simplify travis.yml and package.json. Remove git-lfs, and redundant yarn call. --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index ea7dd2a..1b09c56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,16 +23,15 @@ cache: - $HOME/.npm/_prebuilds before_install: - - mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v2.2.0/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-2.2.0.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull - - curl -L https://yarnpkg.com/latest.tar.gz | tar xvz --strip-components 1 && mv bin $HOME/.yarn - - export PATH="$HOME/.yarn:$PATH" + - curl -L https://yarnpkg.com/latest.tar.gz | tar xvz -C $HOME/.yarn --strip-components 1 + - export PATH="$HOME/.yarn/bin:$PATH" install: - yarn script: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then yarn travis-dist; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then yarn travis-dist -- --mac --win; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then yarn dist; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then yarn dist -- --mac --win; fi before_cache: - rm -rf $HOME/.cache/electron-builder/wine -- cgit v1.2.3