Skip to content

Commit

Permalink
.travis.yml allow apt-get update
Browse files Browse the repository at this point in the history
  • Loading branch information
akgrant committed May 15, 2018
1 parent 08af428 commit e6be769
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ language: c

sudo: required

addons:
apt:
update: true

cache:
directories:
- armchroot
Expand Down

2 comments on commit e6be769

@krono
Copy link
Member

@krono krono commented on e6be769 May 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

@akgrant43
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Why do this?

Because it looks like the package cache on travis is out of date, causing all the errors like:

E: Failed to fetch http://something.deb 404 Not Found [IP: 35.184.213.5 80]

This appears to resolve that issue (it's the first successful linux build I've seen for quite a while).

Cheers,
Alistair

Please sign in to comment.