Skip to content

Commit

Permalink
travis.yml: setting the hostname manually
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Nov 3, 2013
1 parent 6465b5e commit f1cf331
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit f1cf331

Please sign in to comment.