From fc2dd01982b5251108a2f2bbbcd180fa3b832e17 Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Sun, 6 May 2018 02:20:02 +0200
Subject: [PATCH] Add ofxOMXPlayer download before travis rpi compile

---
 scripts/ci/rpi/pisetup.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/ci/rpi/pisetup.sh b/scripts/ci/rpi/pisetup.sh
index e72c8ee..7282e9f 100644
--- a/scripts/ci/rpi/pisetup.sh
+++ b/scripts/ci/rpi/pisetup.sh
@@ -6,8 +6,13 @@ pwd
 
 cd /home/pi/openFrameworks/addons
 git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git
+git clone --depth=1 https://github.com/jvcleave/ofxOMXPlayer.git
+
+cd ofxOMXPlayer
+git checkout 0.9.0-compatible
+cd ..
 
 cd ofxPiMapper/example_basic
-make
+make -j$(nproc)
 
 echo "Done!"