diff --git a/.travis.yml b/.travis.yml index 81559003..204dd80a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ services: env: - PLATFORM=posix TESTS=yes TLS=no - PLATFORM=posix TESTS=yes TLS=openssl + - PLATFORM=posix TESTS=yes TLS=gnutls - PLATFORM=posix TESTS=yes TLS=tinydtls - PLATFORM=contiki TLS=no - PLATFORM=lwip TLS=no diff --git a/build-env/Dockerfile.build-env b/build-env/Dockerfile.build-env index a82f2613..bef06171 100644 --- a/build-env/Dockerfile.build-env +++ b/build-env/Dockerfile.build-env @@ -2,6 +2,6 @@ FROM debian:testing-slim RUN apt-get update && apt-get install -y autoconf automake gcc clang \ libtool libtool-bin make pkg-config libcunit1-dev libssl-dev \ - exuberant-ctags git valgrind \ + libgnutls28-dev exuberant-ctags git valgrind \ graphviz doxygen libxml2-utils xsltproc docbook-xml docbook-xsl asciidoc RUN apt-get clean diff --git a/build-env/Dockerfile.develop b/build-env/Dockerfile.develop index 579b6764..8d7871c1 100644 --- a/build-env/Dockerfile.develop +++ b/build-env/Dockerfile.develop @@ -17,7 +17,7 @@ RUN git clone --depth 1 https://github.com/cabo/cn-cbor.git && cd cn-cbor && ./b FROM debian:testing-slim RUN apt-get update && apt-get install -y autoconf automake gcc g++ gdb libtool libtool-bin make \ - pkg-config libssl-dev + pkg-config libssl-dev libgnutls28-dev RUN apt-get install -y iproute2 lsof net-tools inetutils-ping netcat-openbsd less vim RUN apt-get clean diff --git a/scripts/build.sh b/scripts/build.sh index fc73b2ad..db97e69b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -10,6 +10,8 @@ case "x${TLS}" in ;; xopenssl) WITH_TLS="--with-openssl" ;; + xgnutls) WITH_TLS="--with-gnutls" + ;; xtinydtls) WITH_TLS="--with-tinydtls --disable-shared" ;; *) WITH_TLS="--with-gnutls" diff --git a/scripts/dist.sh b/scripts/dist.sh index 0987f5aa..e7171de6 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -31,6 +31,8 @@ case "x${TLS}" in ;; xopenssl) WITH_TLS="--with-openssl" ;; + xgnutls) WITH_TLS="--with-gnutls" + ;; xtinydtls) WITH_TLS="--with-tinydtls --disable-shared" ;; *) WITH_TLS="--with-gnutls"