summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-10 08:56:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-10 17:18:02 +0200
commitc3d7db4ecb2f8a0b22bd7cdf54ef10c119ebcc48 (patch)
treeeba17ea5f3c5c6b046bd093ec22d10304804ef04
parent18cbbb702c3b705da7e5bd22d02128e8b2445de1 (diff)
downloadcurl-c3d7db4ecb2f8a0b22bd7cdf54ef10c119ebcc48.tar.gz
travis: add build using NSS
Closes #2558
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 172e1fd52..6952f704f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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:
@@ -75,6 +76,10 @@ matrix:
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
env: T=iconv
@@ -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