You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2016/04/17 19:07:45 UTC

[3/6] accumulo git commit: ACCUMULO-4182 Fix /etc/hosts for travis-ci

ACCUMULO-4182 Fix /etc/hosts for travis-ci


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/2056cffd
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/2056cffd
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/2056cffd

Branch: refs/heads/master
Commit: 2056cffdb992257b801410a6332b3f1e4d81baaa
Parents: ce6598f
Author: Christopher Tubbs <ct...@apache.org>
Authored: Sun Apr 17 12:34:06 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Sun Apr 17 13:06:18 2016 -0400

----------------------------------------------------------------------
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/2056cffd/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 765644d..1937917 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,6 +34,7 @@ jdk:
   - openjdk6
 # clear any cache of accumulo artifacts, just in case; use https for central
 before_script:
+  - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname)/" /etc/hosts | sudo tee /etc/hosts
   - rm -rf $HOME/.m2/repository/org/apache/accumulo
   - echo "<settings xmlns='http://maven.apache.org/SETTINGS/1.0.0'><mirrors><mirror><id>secure-central</id><url>https://repo.maven.apache.org/maven2</url><mirrorOf>central</mirrorOf></mirror></mirrors></settings>" > $HOME/settings-custom.xml
 script: mvn --settings $HOME/settings-custom.xml clean verify -DskipITs