diff --git a/.travis.yml b/.travis.yml index d6b93d9..1caffd8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,8 @@ env: before_install: - sudo hostname "$(hostname | cut -c1-63)" - - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts + - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts + - sudo mv /tmp/hosts /etc/hosts script: - admin/build.sh scala: