[tor-commits] [tor/maint-0.2.9] Add more optional packages to Travis

nickm at torproject.org nickm at torproject.org
Wed Aug 22 00:04:23 UTC 2018


commit 340da669be373174550e038d1d20ff2bff49eb6b
Author: Taylor Yu <catalyst at torproject.org>
Date:   Thu Jun 28 14:43:31 2018 -0500

    Add more optional packages to Travis
    
    Apparently we weren't building with either libcap or libseccomp on
    Travis.  Install libcap-dev and libseccomp-dev in .travis.yml.  Closes
    ticket 26560.
---
 .travis.yml         | 3 ++-
 changes/ticket26560 | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 6a3e1bfc0..e3735f7d5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,11 +42,12 @@ addons:
     packages:
       ## Required dependencies
       - libevent-dev
-      - libseccomp2
       - zlib1g-dev
       ## Optional dependencies
+      - libcap-dev
       - liblzma-dev
       - libscrypt-dev
+      - libseccomp-dev
       ## zstd doesn't exist in Ubuntu Trusty
       #- libzstd
 
diff --git a/changes/ticket26560 b/changes/ticket26560
new file mode 100644
index 000000000..5b4fb1bfe
--- /dev/null
+++ b/changes/ticket26560
@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+    - Install libcap-dev and libseccomp2-dev so these optional
+      dependencies get tested on Travis CI.  Closes ticket 26560.





More information about the tor-commits mailing list