diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-27 21:10:23 +0000 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-27 21:10:23 +0000 |
| commit | bd0646fcce28ed7d19884ddd64a096b1c4a8a9cc (patch) | |
| tree | 91ac830cf3b68ef428f8524170cf6cdad39903fd /.travis.yml | |
| parent | 96f7fafe13543bbf1cb90d063391f75ad564bd1e (diff) | |
| download | sql-plus-plus-bd0646fcce28ed7d19884ddd64a096b1c4a8a9cc.tar.xz sql-plus-plus-bd0646fcce28ed7d19884ddd64a096b1c4a8a9cc.zip | |
Remove git-lfs from travis build script
Simplify travis.yml and package.json. Remove git-lfs, and redundant yarn call.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 9 |
1 files changed, 4 insertions, 5 deletions
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 |