]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Add .travis.yml for Travis CI (http://travis-ci.org/)
authorMarc Abramowitz <[email protected]>
Thu, 4 Oct 2012 22:30:56 +0000 (15:30 -0700)
committerMarc Abramowitz <[email protected]>
Fri, 12 Oct 2012 15:30:30 +0000 (08:30 -0700)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..28e4b8f
--- /dev/null
@@ -0,0 +1,13 @@
+language: c
+
+before_script:
+  - sudo apt-get install libpcap-dev libssl-dev libssl0.9.8 libssl1.0.0
+  # - find /lib /usr/lib -name 'libcrypto.*'
+  # - sudo ln -s i386-linux-gnu/libcrypto.so.0.9.8 /usr/lib/libcrypto.so
+
+script:
+  - curl -sk http://patch-tracker.debian.org/patch/series/dl/tcpdump/4.3.0-1/40_openssl.diff | patch -p1  # Patch OpenSSL detection to be multiarch-aware
+  - autoconf
+  - ./configure  # --with-crypto=/usr --with-libdir=/usr/lib/i386-linux-gnu
+  - make
+  - make check