Skip to content

Commit

Permalink
Fix(CIJob): Added sudo to install commands
Browse files Browse the repository at this point in the history
Installing dependencies inside travis ci aparently requires previlege escalation,
Added sudo to before_install comands to get nodeJS Installed
  • Loading branch information
coolapso committed Oct 23, 2021
1 parent da40aa6 commit 6f7a195
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
env:
- IMAGE=pivpn/docs
before_install:
- curl -fsSL https://deb.nodesource.com/setup_17.x | bash -
- apt-get install -y nodejs
- curl -fsSL https://deb.nodesource.com/setup_17.x | sudo -E bash -
- sudo apt-get update
- sudo apt-get install -y nodejs
install:
- pip install mkdocs-material
- npm install @semantic-release/github -D
Expand Down

0 comments on commit 6f7a195

Please sign in to comment.