From dcc80de730674f102d78bb6cca2c8692307a0dad Mon Sep 17 00:00:00 2001 From: Maximilian Federle Date: Sat, 8 Feb 2020 17:47:36 +0100 Subject: [PATCH] snap: Add missing sudo in Travis deploy step Running the build step with sudo necessitates running the deploy step with sudo too. Otherwise, we face permission problems. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d215176..26d94da9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,13 +38,13 @@ jobs: script: ./.travis/build-snap.sh deploy: - provider: script - script: ./.travis/deploy-snap.sh edge + script: sudo ./.travis/deploy-snap.sh edge skip_cleanup: true on: branch: master tags: false - provider: script - script: ./.travis/deploy-snap.sh edge,beta + script: sudo ./.travis/deploy-snap.sh edge,beta skip_cleanup: true on: branch: master