Skip to content

Commit 4778b1c

Browse files
committed
add sudo to travis install
1 parent 50a3d2d commit 4778b1c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
language: ruby
22
dist: trusty
3+
sudo: required
34
rvm:
45
- 2.4.4
56
before_script:
67
- gem install bundler -v 1.16.2
78
- bundle exec rake hatchet:setup_travis
9+
before_install:
10+
- sudo bash etc/ci-setup.sh
811
jobs:
912
include:
1013
- stage: Bash linting (shellcheck)
1114
sudo: false
1215
before_install:
13-
- bash etc/ci-setup.sh
1416
- wget -c https://goo.gl/ZzKHFv -O - | tar -xvJ -C /tmp/
1517
- PATH="/tmp/shellcheck-latest:$PATH"
1618
script: make check

etc/ci-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

33
sudo apt-get -qq update
4-
sudo apt-get install software-properties-common -y
4+
sudo apt-get install software-properties-common
55
curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://cli-assets.heroku.com/install-ubuntu.sh | sh

0 commit comments

Comments
 (0)