]> granicus.if.org Git - curl/commitdiff
travis: add build using NSS
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 May 2018 06:56:46 +0000 (08:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 May 2018 15:18:02 +0000 (17:18 +0200)
Closes #2558

.travis.yml

index 172e1fd520dadf03bb1a437efd3b9e17e4718981..6952f704f46d27d42d0d5c1342fea2a6f7bdc9b5 100644 (file)
@@ -35,6 +35,7 @@ addons:
             - krb5-user
             - autopoint  # for libpsl that needs autoreconf that uses gettext that needs it
             - libunistring-dev # for libidn2 neeed by libpsl
+            - libnss3-dev
 
 matrix:
     include:
@@ -74,6 +75,10 @@ matrix:
           compiler: clang
           dist: trusty
           env: T=debug C="--with-mbedtls --without-ssl"
+        - os: linux
+          compiler: clang
+          dist: trusty
+          env: T=debug C="--with-nss --without-ssl" NOTESTS=1 CPPFLAGS="-isystem /usr/include/nss"
         - os: linux
           compiler: gcc
           dist: trusty
@@ -236,7 +241,9 @@ script:
         if [ "$T" = "debug" ]; then
              ./configure --enable-debug --enable-werror $C
              make && make examples
-             make TFLAGS=-n test-nonflaky
+             if [ -z $NOTESTS ]; then
+                make TFLAGS=-n test-nonflaky
+             fi
         fi
     - |
         set -eo pipefail