summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 16:26:07 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 16:26:38 +0200
commita50d8d1f7b7ac4558b3368f10fd15937a6514e95 (patch)
tree542c251836dd2af8dbaad8580e9ac5075f1aa00b
parentfcfd587483820206079cc61738883a5ab74b6b61 (diff)
we give travis a try :)
-rw-r--r--.travis.yml4
-rw-r--r--scripts/travis.sh11
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