[tor-commits] [tor/release-0.3.5] add --enable-nss build to Travis CI

nickm at torproject.org nickm at torproject.org
Wed Oct 24 12:57:32 UTC 2018


commit fcbbcf92cbd9e59b336a93c4e877eed55344de18
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Tue Sep 25 18:41:19 2018 +0000

    add --enable-nss build to Travis CI
---
 .travis.yml         | 5 ++++-
 changes/ticket27751 | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 34b7595eb..1af7d5bbd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -57,6 +57,8 @@ matrix:
     ## Check disable module dirauth with and without rust
     - env: MODULES_OPTIONS="--disable-module-dirauth" RUST_OPTIONS="--enable-rust" TOR_RUST_DEPENDENCIES=true HARDENING_OPTIONS=""
     - env: MODULES_OPTIONS="--disable-module-dirauth"
+    ## Check NSS
+    - env: NSS_OPTIONS="--enable-nss"
 
   ## Uncomment to allow the build to report success (with non-required
   ## sub-builds continuing to run) if all required sub-builds have
@@ -118,6 +120,7 @@ addons:
       ## Optional dependencies
       - libcap-dev
       - liblzma-dev
+      - libnss3-dev
       - libscrypt-dev
       - libseccomp-dev
       ## zstd doesn't exist in Ubuntu Trusty
@@ -186,7 +189,7 @@ install:
 
 script:
   - ./autogen.sh
-  - CONFIGURE_FLAGS="$ASCIIDOC_OPTIONS $COVERAGE_OPTIONS $HARDENING_OPTIONS $MODULES_OPTIONS $OPENSSL_OPTIONS $RUST_OPTIONS --enable-fatal-warnings --disable-silent-rules"
+  - CONFIGURE_FLAGS="$ASCIIDOC_OPTIONS $COVERAGE_OPTIONS $HARDENING_OPTIONS $MODULES_OPTIONS $NSS_OPTIONS $OPENSSL_OPTIONS $RUST_OPTIONS --enable-fatal-warnings --disable-silent-rules"
   - echo "Configure flags are $CONFIGURE_FLAGS"
   - ./configure $CONFIGURE_FLAGS
   ## We run `make check` because that's what https://jenkins.torproject.org does.
diff --git a/changes/ticket27751 b/changes/ticket27751
new file mode 100644
index 000000000..593c473b6
--- /dev/null
+++ b/changes/ticket27751
@@ -0,0 +1,2 @@
+  o Minor features (continuous integration):
+    - Add a Travis CI build for --enable-nss on Linux gcc. Closes ticket 27751.





More information about the tor-commits mailing list