Update travis config

This commit is contained in:
Krisjanis Rijnieks
2018-05-06 00:14:01 +02:00
parent ce440d8b87
commit 88a7548eaa
+10 -25
View File
@@ -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
depth: 1