Added CI-Scripts
This commit is contained in:
parent
06844bbcb7
commit
b5c85c6ceb
2 changed files with 32 additions and 0 deletions
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -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
|
||||||
|
|
||||||
|
|
19
tests/test_ar71xx_15.05.sh
Executable file
19
tests/test_ar71xx_15.05.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue