From f1cf331cb55e89589a5030dbdcc475b28bd78799 Mon Sep 17 00:00:00 2001 From: Xabier de Zuazo Date: Sun, 3 Nov 2013 05:25:16 +0100 Subject: [PATCH] travis.yml: setting the hostname manually --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index aaa2337..9e43c65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ node_js: before_install: - sudo apt-get update -qq - sudo apt-get install -qq default-jdk g++ make - - echo -e "127.0.0.1 localhost" | sudo tee -a /etc/hosts + - echo -e "127.0.0.1 localhost\n127.0.0.1 travis001.onddo.com" | sudo tee -a /etc/hosts + - sudo hostname 'travis001.onddo.com' + - hostname | sudo tee /etc/hostname env: - JAVA_HOME="/usr/lib/jvm/default-java"