Browse Source

Update travis config

master
Krisjanis Rijnieks 7 years ago
parent
commit
88a7548eaa
  1. 35
      .travis.yml

35
.travis.yml

@ -10,7 +10,6 @@
# scripts/ci/$TARGET/install.sh # scripts/ci/$TARGET/install.sh
# #
language: c++ language: c++
compiler: gcc compiler: gcc
sudo: true sudo: true
@ -34,8 +33,7 @@ matrix:
- dosfstools - dosfstools
- zip - zip
script: script:
- sudo bash scripts/ci/ - sudo bash ./scripts/ci/rpi/mkimage.sh
- zip opm.img.zip opm.img
# Linux 64bit, OF master # Linux 64bit, OF master
- os: linux - os: linux
@ -73,29 +71,16 @@ matrix:
- compiler: gcc - compiler: gcc
install: install:
- | - cd ~
if [ "${TARGET}" == "rpi" ]; then - git clone --depth=1 --branch=$OF_BRANCH https://github.com/openframeworks/openFrameworks
pwd - cd ~/openFrameworks/addons
echo "Launch rpi specific install script here." - git clone --depth=1 https://github.com/jeffcrouse/ofxJSON.git
sudo bash ./scripts/ci/rpi/install.sh - cd ~/openFrameworks
else - scripts/ci/addons/install.sh
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: script:
- | - cd ~/openFrameworks
if [ "${TARGET}" == "rpi" ]; then - scripts/ci/addons/build.sh
pwd
sudo bash ./scripts/ci/rpi/mkimage.sh
else
cd ~/openFrameworks
scripts/ci/addons/build.sh
fi
git: git:
depth: 10 depth: 1
Loading…
Cancel
Save