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.
pull/551/head
Maximilian Federle 2020-02-08 17:47:36 +01:00 committed by whitequark
parent 65ab59503a
commit dcc80de730
1 changed files with 2 additions and 2 deletions

View File

@ -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