Merge branch 'development' of https://github.com/raul-ortega/u360gts into development
[u360gts.git] / fake_travis_build.sh
blobae7d5119da241bfb818545d320c7189982972bc6
1 #!/bin/bash
3 targets=("PUBLISHMETA=True" \
4 "RUNTESTS=True" \
5 "TARGET=CC3D" \
6 "TARGET=CHEBUZZF3" \
7 "TARGET=CJMCU" \
8 "TARGET=COLIBRI_RACE" \
9 "TARGET=EUSTM32F103RC" \
10 "TARGET=SPRACINGF3" \
11 "TARGET=MOTOLAB" \
12 "TARGET=NAZE" \
13 "TARGET=NAZE32PRO" \
14 "TARGET=OLIMEXINO" \
15 "TARGET=PORT103R" \
16 "TARGET=RMDO" \
17 "TARGET=SPARKY" \
18 "TARGET=STM32F3DISCOVERY" \
19 "TARGET=ALIENWIIF1" \
20 "TARGET=ALIENWIIF3")
22 #fake a travis build environment
23 export TRAVIS_BUILD_NUMBER=$(date +%s)
24 export BUILDNAME=${BUILDNAME:=fake_travis}
25 export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/simulated}
27 for target in "${targets[@]}"
29 unset RUNTESTS PUBLISHMETA TARGET
30 eval "export $target"
31 make clean
32 ./.travis.sh
33 done