ci: Add script to enable checks with Travis CI
Change-Id: I5345a67dc588228df5560139477fa9236a6b437d
diff --git a/.jenkins.d/02-deps-ndn-cxx.sh b/.jenkins.d/02-deps-ndn-cxx.sh
index fdfafce..1835a6c 100755
--- a/.jenkins.d/02-deps-ndn-cxx.sh
+++ b/.jenkins.d/02-deps-ndn-cxx.sh
@@ -2,6 +2,14 @@
set -x
set -e
+if [[ $USE_NDN_PPA == "yes" ]]; then
+ sudo apt-get install -y python-software-properties
+ sudo add-apt-repository -qq -y ppa:named-data/ppa
+ sudo apt-get update -qq
+ sudo apt-get install -qq -y ndn-cxx-dev
+ exit 0
+fi
+
cd /tmp
BUILD="no"
if [ ! -d ndn-cxx ]; then