Skip to content

Commit

Permalink
Travis CI: Fix "sudo: unable to resolve host freenet-plugin-WebOfTrust"
Browse files Browse the repository at this point in the history
The link cited in the nearby line from which the "hostname" workaround
came did mention configuring the hosts file like this as well:
travis-ci/travis-ci#5227 (comment)

I probably forgot to apply that part when I applied the workaround
initially.
  • Loading branch information
xor-freenet committed May 13, 2018
1 parent 68ca711 commit 6f77ef4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ addons:
- junit4
- libhamcrest-java
# TODO: Code quality: Remove this workaround for https://github.com/travis-ci/travis-ci/issues/5227
hosts:
- freenet-plugin-WebOfTrust
hostname: freenet-plugin-WebOfTrust

before_cache:
Expand Down

0 comments on commit 6f77ef4

Please sign in to comment.