Browse Source

Update travis cfg, disable global install and script if target=rpi

master
Krisjanis Rijnieks 7 years ago
parent
commit
7ee7cd7bf5
  1. 22
      .travis.yml

22
.travis.yml

@ -71,16 +71,22 @@ matrix:
- compiler: gcc - compiler: gcc
install: install:
- cd ~ - |
- git clone --depth=1 --branch=$OF_BRANCH https://github.com/openframeworks/openFrameworks if ! [ "${TARGET}" == "rpi" ]; then
- cd ~/openFrameworks/addons cd ~
- git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git git clone --depth=1 --branch=$OF_BRANCH https://github.com/openframeworks/openFrameworks
- cd ~/openFrameworks cd ~/openFrameworks/addons
- scripts/ci/addons/install.sh git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git
cd ~/openFrameworks
scripts/ci/addons/install.sh
fi
script: script:
- cd ~/openFrameworks - |
- scripts/ci/addons/build.sh if ! [ "${TARGET}" == "rpi" ]; then
cd ~/openFrameworks
scripts/ci/addons/build.sh
fi
git: git:
depth: 1 depth: 1
Loading…
Cancel
Save