accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [2/6] accumulo git commit: ACCUMULO-4182 Fix /etc/hosts for travis-ci
Date Sun, 17 Apr 2016 17:07:44 GMT
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/1.7
Commit: 2056cffdb992257b801410a6332b3f1e4d81baaa
Parents: ce6598f
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Sun Apr 17 12:34:06 2016 -0400
Committer: Christopher Tubbs <ctubbsii@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


Mime
View raw message