Skip to content

Commit dcc80de

Browse files
ppdwhitequark
authored andcommitted
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.
1 parent 65ab595 commit dcc80de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
script: ./.travis/build-snap.sh
3939
deploy:
4040
- provider: script
41-
script: ./.travis/deploy-snap.sh edge
41+
script: sudo ./.travis/deploy-snap.sh edge
4242
skip_cleanup: true
4343
on:
4444
branch: master
4545
tags: false
4646
- provider: script
47-
script: ./.travis/deploy-snap.sh edge,beta
47+
script: sudo ./.travis/deploy-snap.sh edge,beta
4848
skip_cleanup: true
4949
on:
5050
branch: master

0 commit comments

Comments
 (0)