zipkin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adrianc...@apache.org
Subject [incubator-zipkin] 04/04: Optimizes Travis configuration
Date Mon, 06 May 2019 13:18:36 GMT
This is an automated email from the ASF dual-hosted git repository.

adriancole pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-zipkin.git

commit 46ea28187fd856e275f0379c7b78c2dba4fb79ac
Author: Adrian Cole <acole@pivotal.io>
AuthorDate: Mon May 6 20:42:46 2019 +0800

    Optimizes Travis configuration
---
 .travis.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3660f64..9747dd9 100755
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,7 @@ cache:
   # zipkin-ui gets dependencies via NPM
   - $HOME/.npm
   - $HOME/.m2
+  - $HOME/kafka_2.11-0.8.2.2
 
 language: java
 
@@ -28,13 +29,16 @@ before_install:
   - sudo sysctl -w vm.max_map_count=262144
 
   # Manually install and run zk+kafka as it isn't an available service
-  - curl -SL https://archive.apache.org/dist/kafka/0.8.2.2/kafka_2.11-0.8.2.2.tgz | tar xz
-  - nohup bash -c "cd kafka_* && bin/zookeeper-server-start.sh config/zookeeper.properties
>/dev/null 2>&1 &"
-  - nohup bash -c "cd kafka_* && bin/kafka-server-start.sh config/server.properties
>/dev/null 2>&1 &"
+  - test -d $HOME/kafka_2.11-0.8.2.2/bin || curl -sSL https://archive.apache.org/dist/kafka/0.8.2.2/kafka_2.11-0.8.2.2.tgz
| bash -c '(cd $HOME; tar -xzf -)'
+  - nohup bash -c "cd $HOME/kafka_2.11-0.8.2.2 && bin/zookeeper-server-start.sh config/zookeeper.properties
>/dev/null 2>&1 &"
+  - nohup bash -c "cd $HOME/kafka_2.11-0.8.2.2 && bin/kafka-server-start.sh config/server.properties
>/dev/null 2>&1 &"
 
   # Quiet Maven invoker logs (Downloading... when running zipkin-server/src/it)
   - echo "MAVEN_OPTS='-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'"
> ~/.mavenrc
 
+  # Disable testcontainers checks
+  - echo checks.disable=true > ~/.testcontainers.properties
+
   # Override default travis to use the maven wrapper
 install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
 script: ./mvnw clean verify -B


Mime
View raw message