Set the hostname on travis.

This commit is contained in:
Mario Visic 2011-10-17 23:47:51 +08:00
parent 6b9ccf3854
commit 70dacfcef2

View File

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
sh -e /etc/init.d/xvfb start sh -e /etc/init.d/xvfb start
echo "echo \"127.0.0.1 test.example.com\" >> /etc/hosts" | sudo sh echo "echo \"127.0.0.1 test.example.com\" >> /etc/hosts" | sudo sh
sudo hostname test.example.com