You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by kr...@apache.org on 2019/11/09 21:04:14 UTC

[knox] branch master updated: KNOX-2115 - Improve .travis.yml (#187)

This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 4179fee  KNOX-2115 - Improve .travis.yml (#187)
4179fee is described below

commit 4179fee8f6567fa66478be3fa7556937fe090cf3
Author: Kevin Risden <ri...@users.noreply.github.com>
AuthorDate: Sat Nov 9 16:04:04 2019 -0500

    KNOX-2115 - Improve .travis.yml (#187)
    
    Signed-off-by: Kevin Risden <kr...@apache.org>
---
 .travis.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 563e34b..6dd7dc5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,14 +25,13 @@ matrix:
     
 env:
   global:
-  - DOCKERRUN="docker run -it --rm -v $PWD:/src -v $HOME/.m2:/root/.m2 -w /src"
+  - DOCKERRUN="docker run -it --rm -v $PWD:/src -v $HOME/.m2:/root/.m2 -v /var/run/docker.sock:/var/run/docker.sock -w /src"
 services:
   - docker
 before_install:
   - docker pull $IMAGE
 script:
-  # argLine to work around https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925
-  - $DOCKERRUN $IMAGE mvn -T1C verify -Dsurefire.useFile=false -Djavax.net.ssl.trustStorePassword=changeit -DargLine="-Djdk.net.URLClassPath.disableClassPathURLCheck=true" -B -V
+  - $DOCKERRUN $IMAGE mvn -T.75C clean verify -U -Dsurefire.useFile=false -Djavax.net.ssl.trustStorePassword=changeit -B -V
   - shellcheck gateway-shell-release/home/bin/*.sh
   - shellcheck gateway-release/home/bin/*.sh
   - shellcheck gateway-release-common/home/bin/*.sh