Skip to content

Commit

Permalink
[fix] fixing the build for OpenJDK7 in travis-ci/travis-ci#5227
Browse files Browse the repository at this point in the history
  • Loading branch information
albarrentine committed Oct 27, 2017
1 parent a894d93 commit 6fd2ce9
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 @@ -16,6 +16,10 @@ addons:
- libsnappy-dev
- realpath
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*
- export CC="gcc-4.8"
- mkdir deps
- git clone https://github.com/openvenues/libpostal
Expand Down

0 comments on commit 6fd2ce9

Please sign in to comment.