Browse Source

we give travis a try :)

Waldemar Brodkorb 7 years ago
parent
commit
a50d8d1f7b
2 changed files with 15 additions and 0 deletions
  1. 4 0
      .travis.yml
  2. 11 0
      scripts/travis.sh

+ 4 - 0
.travis.yml

@@ -0,0 +1,4 @@
+install:
+  - sudo apt-get -qq update
+  - sudo apt-get install -y mksh
+script: ./script/travis.sh

+ 11 - 0
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