We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 060d59b commit ab081a9Copy full SHA for ab081a9
.travis.yml
@@ -1,9 +1,8 @@
1
# 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*
+addons:
+ hosts:
+ - myhostname
+ hostname: myhostname
7
8
language: java
9
jdk:
0 commit comments