aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2016-02-10 20:02:50 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2016-02-10 20:02:50 +0100
commit0b00410123c30a5b7ecaaa8ecf4e56e90bfe7cdf (patch)
tree9f8f139c6c9279ab8803c54d10073b5e830be43c /.travis.yml
parente593ca87d2720398be0ff5819b6de97cd4bc38ee (diff)
downloadopen-keychain-0b00410123c30a5b7ecaaa8ecf4e56e90bfe7cdf.tar.gz
open-keychain-0b00410123c30a5b7ecaaa8ecf4e56e90bfe7cdf.tar.bz2
open-keychain-0b00410123c30a5b7ecaaa8ecf4e56e90bfe7cdf.zip
travis: use new hostname addon instead of workaround
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index abbd6749e..402bfa4b8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,13 +8,10 @@ jdk: openjdk7
# force non-container build
sudo: required
-# workaround for https://github.com/travis-ci/travis-ci/issues/5227
-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*
-
+# OpenJDK 6 and OpenJDK 7 processes will encounter buffer overflows when the host name is too long.
+# https://docs.travis-ci.com/user/hostname
+addons:
+ hostname: short-hostname
android:
components:
- build-tools-23.0.1