Skip to content

Commit d3180d3

Browse files
authored
Merge pull request #759 from heroku/update-travis
Update travis setup for Hatchet
2 parents 9c2bbd1 + 4778b1c commit d3180d3

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ site
44

55
/.envrc
66
repos/*
7+
8+
#Venv
9+
buildpack/*

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
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
8-
addons:
9-
apt:
10-
sources:
11-
- heroku
12-
packages:
13-
- heroku-toolbelt
9+
before_install:
10+
- sudo bash etc/ci-setup.sh
1411
jobs:
1512
include:
1613
- stage: Bash linting (shellcheck)

etc/ci-setup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
sudo apt-get -qq update
4+
sudo apt-get install software-properties-common
5+
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)