]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
add --enable-nss build to Travis CI
authorcypherpunks <cypherpunks@torproject.org>
Tue, 25 Sep 2018 18:41:19 +0000 (18:41 +0000)
committercypherpunks <cypherpunks@torproject.org>
Tue, 25 Sep 2018 18:43:23 +0000 (18:43 +0000)
.travis.yml
changes/ticket27751 [new file with mode: 0644]

index 34b7595eb356123297f1c645e0f04e4bd2e3cece..1af7d5bbddc5e2841ec8e8071a056767c12dae28 100644 (file)
@@ -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 (file)
index 0000000..593c473
--- /dev/null
@@ -0,0 +1,2 @@
+  o Minor features (continuous integration):
+    - Add a Travis CI build for --enable-nss on Linux gcc. Closes ticket 27751.