Skip to content

Commit ab081a9

Browse files
committed
update workaround for openjdk 1.6 buffer overflow
1 parent 060d59b commit ab081a9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: .travis.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# workaround for buffer overflow issue, ref https://github.com/travis-ci/travis-ci/issues/5227
2-
before_install:
3-
- cat /etc/hosts # optionally check the content *before*
4-
- sudo hostname "$(hostname | cut -c1-63)"
5-
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
6-
- cat /etc/hosts # optionally check the content *after*
2+
addons:
3+
hosts:
4+
- myhostname
5+
hostname: myhostname
76

87
language: java
98
jdk:

0 commit comments

Comments
 (0)