ci: updated travis and appveyor for nss/nspr

* added nss and nspr requirements for appveyor build
* added nss and nspr requirements for travis builds
* added travis build without nss and nspr

Signed-off-by: jason taylor <jtfas90@gmail.com>
pull/3810/head
jason taylor 6 years ago committed by Victor Julien
parent dd2063a75e
commit a4ec133a88

@ -4,9 +4,38 @@ language: c
addons:
apt:
# Define the required packages without nss/nspr so we can do a
# build without nss/nspr
packages-without-nssnspr: &packages-without-nssnspr
- libpcre3
- libpcre3-dbg
- libpcre3-dev
- build-essential
- autoconf
- automake
- libtool
- libpcap-dev
- libnet1-dev
- libyaml-0-2
- libyaml-dev
- zlib1g
- zlib1g-dev
- libcap-ng-dev
- libcap-ng0
- make
- libmagic-dev
- libnetfilter-queue-dev
- libnetfilter-queue1
- libnfnetlink-dev
- libnfnetlink0
- libhiredis-dev
- libjansson-dev
- libevent-dev
- libevent-pthreads-2.0-5
# Define the required packages without libjansson so we can do a
# build without libjansson.
packages-without-jansson: &packages-without-jansson
- libnss3-dev
- libpcre3
- libpcre3-dbg
- libpcre3-dev
@ -174,6 +203,17 @@ matrix:
env:
- NAME="osx,gcc"
- *default-cflags
# Linux, gcc, no nss/nspr.
- os: linux
compiler: gcc
env:
- NAME="linux,gcc,no-nssnspr"
- *default-cflags
- ARGS="--disable-nss --disable-nspr"
addons:
apt:
packages:
- *packages-without-nssnspr
script:
- |

@ -46,6 +46,8 @@ before_build:
- c:\msys64\usr\bin\pacman -Su --noconfirm mingw-w64-"%MINGW_ARCH%"-pcre
- c:\msys64\usr\bin\pacman -Su --noconfirm mingw-w64-"%MINGW_ARCH%"-rust
- c:\msys64\usr\bin\pacman -Su --noconfirm mingw-w64-"%MINGW_ARCH%"-jansson
- c:\msys64\usr\bin\pacman -Su --noconfirm mingw-w64-"%MINGW_ARCH%"-nss
- c:\msys64\usr\bin\pacman -Su --noconfirm mingw-w64-"%MINGW_ARCH%"-nspr
install:
- choco install winpcap # winpcap userspace

@ -1873,7 +1873,6 @@
echo " Fedora: dnf install nspr-devel"
echo " CentOS/RHEL: yum install nspr-devel"
echo
exit 1
fi
fi
@ -1926,7 +1925,6 @@
echo " Fedora: dnf install nss-devel"
echo " CentOS/RHEL: yum install nss-devel"
echo
exit 1
fi
fi

Loading…
Cancel
Save