aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-02-27 20:08:05 +0000
committerJames Barnett <noreply@jamesbarnett.xyz>2018-02-27 20:08:05 +0000
commit96f7fafe13543bbf1cb90d063391f75ad564bd1e (patch)
treeb3551096494720d4b6cf1e6455b94af94043fc5b /.travis.yml
parent74f05fe35e0acfa32ed807901a1af2cd137e7cf0 (diff)
downloadsql-plus-plus-96f7fafe13543bbf1cb90d063391f75ad564bd1e.tar.xz
sql-plus-plus-96f7fafe13543bbf1cb90d063391f75ad564bd1e.zip
Fix yarn extraction in travis build script
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9d693b1..ea7dd2a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,8 +24,8 @@ cache:
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 && mv dist $HOME/.yarn
- - export PATH="$HOME/.yarn/bin:$PATH"
+ - curl -L https://yarnpkg.com/latest.tar.gz | tar xvz --strip-components 1 && mv bin $HOME/.yarn
+ - export PATH="$HOME/.yarn:$PATH"
install:
- yarn