Browse Source

Checkout ofxOMXPlayer 0.9.0-compatible in travis git cfg

master
Krisjanis Rijnieks 7 years ago
parent
commit
bb05314dc1
  1. 11
      scripts/ci/rpi/mkimage.sh
  2. 2
      scripts/ci/rpi/pisetup.sh

11
scripts/ci/rpi/mkimage.sh

@ -76,11 +76,12 @@ cp "${MOUNT}/etc/ld.so.preload" "${MOUNT}/etc/_ld.so.preload"
echo "" > "${MOUNT}/etc/ld.so.preload"
# git clone addons
git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git /home/pi/openFrameworks/addons/ofxJSON
git clone -b 0.9.0-compatible https://github.com/jvcleave/ofxOMXPlayer.git /home/pi/openFrameworks/addons/ofxOMXPlayer
#git clone https://github.com/kr15h/ofxOMXPlayerLite.git
#mv ofxOMXPlayerLite ofxOMXPlayer
git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git "${MOUNT}/home/pi/openFrameworks/addons/ofxJSON"
git clone https://github.com/jvcleave/ofxOMXPlayer.git "${MOUNT}/home/pi/openFrameworks/addons/ofxOMXPlayer"
CURRENT=$(pwd)
cd "${MOUNT}/home/pi/openFrameworks/addons/ofxOMXPlayer"
git checkout 0.9.0-compatible
cd "${CURRENT}"
# copy ofxPiMapper to openFrameworks/addons
mkdir "${MOUNT}/home/pi/openFrameworks/addons/ofxPiMapper"

2
scripts/ci/rpi/pisetup.sh

@ -18,4 +18,4 @@ echo "@reboot /home/pi/openFrameworks/addons/ofxPiMapper/example_basic/bin/examp
crontab mycron
rm mycron
echo "Done!"
echo "RPi setup done!"

Loading…
Cancel
Save