diff options
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | scripts/travis.sh | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..92b5d6125 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +install: + - sudo apt-get -qq update + - sudo apt-get install -y mksh +script: ./script/travis.sh diff --git a/scripts/travis.sh b/scripts/travis.sh new file mode 100644 index 000000000..8a97f5bbc --- /dev/null +++ b/scripts/travis.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +for system in $(grep "config ADK_TARGET" target/*/systems/*|awk -F: '{ print $1 }'); do + system=$(echo $system|sed -e "s#ADK_TARGET_SYSTEM_##") + system=$(echo $system|tr '[:upper:]' '[:lower:]') + arch=$(echo $system|awk -F/ '{ print $2 }') + system=$(echo $system|awk -F/ '{ print $4 }') + make ADK_TARGET_OS=Linux ADK_TARGET_ARCH=$arch ADK_TARGET_SYSTEM=$system ADK_APPLIANCE=new defconfig + make + make cleansystem +done |