Skip to contentSkip to conversation

travis-ci: add "make distcheck" to test scenario, V2

PATCH In review Ilya Shipitsin 3 participants 3 messages Feb 25, 2017 – Mar 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis-ci: add "make distcheck" to test scenario, V2

in rare cases openvpn is built from tarball, it happens during "installer build" process. "make distcheck" helps to prevent problems during such builds.

V2: limit "make distcheck" to one build configuration

---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
.travis.yml +2 -1
index a68374a..3c0aa7d 100644
@@ -33,7 +33,7 @@ matrix:
     - env: SSLLIB="mbedtls"
       os: linux
       compiler: clang
-    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-crypto"
+    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-crypto" EXTRA_SCRIPT="make distcheck"
       os: linux
       compiler: clang
     - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-lzo"
@@ -84,3 +84,4 @@ script:
   - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ldd src/openvpn/openvpn; fi
   - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then otool -L src/openvpn/openvpn; fi
   - make check
+  - $EXTRA_SCRIPT
Signature · 1 line
2.5.5
#1 lore raw
Quoted 24 lines · Ilya Shipitsin

in rare cases openvpn is built from tarball, it happens during "installer build" process. "make distcheck" helps to prevent problems during such builds.

V2: limit "make distcheck" to one build configuration

---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
.travis.yml +1 -1
index a68374a..3c0aa7d 100644
@@ -33,7 +33,7 @@ matrix:
     - env: SSLLIB="mbedtls"
       os: linux
       compiler: clang
-    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-crypto"
+    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-crypto" EXTRA_SCRIPT="make distcheck"
       os: linux
       compiler: clang
     - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-lzo"

.travis.yml script: · line 87

Quoted 4 lines
.travis.yml +1 -0
@@ -84,3 +84,4 @@ script:
   - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ldd src/openvpn/openvpn; fi
   - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then otool -L src/openvpn/openvpn; fi
   - make check
+  - $EXTRA_SCRIPT

Thanks, this looks good. ACK.

-Steffan

#2 lore raw

[Openvpn-devel] [PATCH applied] Re: travis-ci: add 'make distcheck' to test scenario, V2

In reply to Ilya Shipitsin

Your patch has been applied to the master branch.

commit 56e6bd8967d72c4374389dfd5cf32f5e3b86242c

Author: Ilya Shipitsin
Date:   Sat Feb 25 23:00:04 2017 +0500
     travis-ci: add 'make distcheck' to test scenario, V2

     Signed-off-by: Ilya Shipitsin <[email protected]...>
     Acked-by: Steffan Karger <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg14208.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering