Skip to content

Commit 8799af4

Browse files
Set hostname in travis build.
Workaround for an issue with a discrepancy between 'localhost' and 'localhost.localdomain'. This closes #36.
1 parent 9e06103 commit 8799af4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ python:
55
- "3.4"
66

77
install:
8+
- "sudo sed -i '1i 127.0.0.1 test.box' /etc/hosts"
9+
- "sudo hostname test.box"
810
- "sudo apt-add-repository -y ppa:sssd/updates "
911
- "sudo apt-get update -q"
1012
- "DEBIAN_FRONTEND=noninteractive sudo apt-get install -qq krb5-user krb5-kdc krb5-admin-server"

0 commit comments

Comments
 (0)