From 7ee7cd7bf52a4da43525b1d9ef2cf9e4347f37d1 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 6 May 2018 00:22:08 +0200 Subject: [PATCH] Update travis cfg, disable global install and script if target=rpi --- .travis.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 677247f..7982852 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,16 +71,22 @@ matrix: - compiler: gcc install: - - cd ~ - - git clone --depth=1 --branch=$OF_BRANCH https://github.com/openframeworks/openFrameworks - - cd ~/openFrameworks/addons - - git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git - - cd ~/openFrameworks - - scripts/ci/addons/install.sh + - | + if ! [ "${TARGET}" == "rpi" ]; then + cd ~ + git clone --depth=1 --branch=$OF_BRANCH https://github.com/openframeworks/openFrameworks + cd ~/openFrameworks/addons + git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git + cd ~/openFrameworks + scripts/ci/addons/install.sh + fi script: - - cd ~/openFrameworks - - scripts/ci/addons/build.sh + - | + if ! [ "${TARGET}" == "rpi" ]; then + cd ~/openFrameworks + scripts/ci/addons/build.sh + fi git: depth: 1 \ No newline at end of file