Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heroku-buildpack-python
Commits
4778b1cb
Commit
4778b1cb
authored
6 years ago
by
Casey Faist
Browse files
Options
Downloads
Patches
Plain Diff
add sudo to travis install
parent
50a3d2d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+3
-1
3 additions, 1 deletion
.travis.yml
etc/ci-setup.sh
+1
-1
1 addition, 1 deletion
etc/ci-setup.sh
with
4 additions
and
2 deletions
.travis.yml
+
3
−
1
View file @
4778b1cb
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
...
...
This diff is collapsed.
Click to expand it.
etc/ci-setup.sh
+
1
−
1
View file @
4778b1cb
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment