From ebfe631ddf9dfc51ec7972dbdc35c7fb56ce6545 Mon Sep 17 00:00:00 2001 From: Marius Date: Fri, 11 Nov 2016 16:37:59 +0100 Subject: [PATCH] Do not use sudo for installing frey --- .scripts/deploy_current.sh | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.scripts/deploy_current.sh b/.scripts/deploy_current.sh index ebf6609..684e221 100755 --- a/.scripts/deploy_current.sh +++ b/.scripts/deploy_current.sh @@ -12,7 +12,7 @@ maketar linux amd64 cp ./tusd_linux_amd64.tar.gz "${__dir}/../.infra/files/" -which frey || sudo npm install -g frey +which frey || npm install -g frey FREY="$(which frey)" $FREY --projectDir "${__dir}/../.infra" deploy diff --git a/.travis.yml b/.travis.yml index 4564be5..05686c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ deploy: tags: true go: 1.7 repo: tus/tusd - condition: $(./.scripts/build_all.sh) + #condition: $(./.scripts/build_all.sh) - provider: script script: .scripts/deploy_current.sh on: