From 88a7548eaae0ca0425b3420eb80bb6337582d68f Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 6 May 2018 00:14:01 +0200 Subject: [PATCH] Update travis config --- .travis.yml | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/.travis.yml b/.travis.yml index f9246e2..677247f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,6 @@ # scripts/ci/$TARGET/install.sh # - language: c++ compiler: gcc sudo: true @@ -34,8 +33,7 @@ matrix: - dosfstools - zip script: - - sudo bash scripts/ci/ - - zip opm.img.zip opm.img + - sudo bash ./scripts/ci/rpi/mkimage.sh # Linux 64bit, OF master - os: linux @@ -73,29 +71,16 @@ matrix: - compiler: gcc install: - - | - if [ "${TARGET}" == "rpi" ]; then - pwd - echo "Launch rpi specific install script here." - sudo bash ./scripts/ci/rpi/install.sh - else - 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 + - 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 script: - - | - if [ "${TARGET}" == "rpi" ]; then - pwd - sudo bash ./scripts/ci/rpi/mkimage.sh - else - cd ~/openFrameworks - scripts/ci/addons/build.sh - fi + - cd ~/openFrameworks + - scripts/ci/addons/build.sh git: - depth: 10 \ No newline at end of file + depth: 1 \ No newline at end of file