From b5c85c6ceb95c5a3ca64595f465a68027f7a179f Mon Sep 17 00:00:00 2001 From: yanosz Date: Sat, 30 Jul 2016 13:47:05 +0200 Subject: [PATCH] Added CI-Scripts --- .travis.yml | 13 +++++++++++++ tests/test_ar71xx_15.05.sh | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .travis.yml create mode 100755 tests/test_ar71xx_15.05.sh diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6e2789f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: bash + +install: + - ./tests/test_ar71xx_15.05.sh + +script: + - make -C tests/OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64 world V=99 -j1 + +branches: + only: + - for-15.05 + + diff --git a/tests/test_ar71xx_15.05.sh b/tests/test_ar71xx_15.05.sh new file mode 100755 index 0000000..43c8560 --- /dev/null +++ b/tests/test_ar71xx_15.05.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +## Setting up the build environment +SDK="OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64" +if ! [ -f "$SDK.tar.bz2" ] +then + wget "http://ftp.stw-bonn.de/pub/openwrt/chaos_calmer/15.05.1/ar71xx/generic/OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2" +fi + +if ! [ -d "tests/$SDK" ] +then + tar -C tests -xf $SDK.tar.bz2 +fi + +pwd=$(pwd) +#Linking packages +for file in `ls`; do + ln -fs $pwd/$file ./tests/$SDK/package/$file +done