add sudo to travis install

This commit is contained in:
Casey Faist
2018-10-04 11:34:50 -05:00
parent 50a3d2d13e
commit 4778b1cb9d
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1,16 +1,18 @@
language: ruby
dist: trusty
sudo: required
rvm:
- 2.4.4
before_script:
- gem install bundler -v 1.16.2
- bundle exec rake hatchet:setup_travis
before_install:
- sudo bash etc/ci-setup.sh
jobs:
include:
- stage: Bash linting (shellcheck)
sudo: false
before_install:
- bash etc/ci-setup.sh
- wget -c https://goo.gl/ZzKHFv -O - | tar -xvJ -C /tmp/
- PATH="/tmp/shellcheck-latest:$PATH"
script: make check
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
sudo apt-get -qq update
sudo apt-get install software-properties-common -y
sudo apt-get install software-properties-common
curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://cli-assets.heroku.com/install-ubuntu.sh | sh