Skip to content

Commit

Permalink
https://github.com/travis-ci/travis-ci/issues/5227
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianKarl authored Nov 15, 2016
1 parent 6dee754 commit 818b545
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,8 @@ addons:
build_command: "mvn -DskipTests=true compile"
branch_pattern: master

# Workaround for bug where hostname longer than 64 chars and running OpenJDK 7
# http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7089443
before_install:
- pip install --user codecov
- 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*

install:
- sudo apt-get update -qq
Expand Down

0 comments on commit 818b545

Please sign in to comment.