ADC converted to new IO mapping
[betaflight.git] / fake_travis_build.sh
blob5bae319ada6190b521db30e0630551d678c5170f
1 #!/bin/bash
3 targets=("PUBLISHMETA=True" \
4 "TARGET=CC3D" \
5 "TARGET=CC3D_OPBL" \
6 "TARGET=COLIBRI_RACE" \
7 "TARGET=LUX_RACE" \
8 "TARGET=SPRACINGF3" \
9 "TARGET=SPRACINGF3EVO" \
10 "TARGET=SPRACINGF3MINI" \
11 "TARGET=OMNIBUS" \
12 "TARGET=NAZE" \
13 "TARGET=AFROMINI" \
14 "TARGET=RMDO" \
15 "TARGET=SPARKY" \
16 "TARGET=MOTOLAB" \
17 "TARGET=PIKOBLX" \
18 "TARGET=IRCFUSIONF3" \
19 "TARGET=ALIENFLIGHTF1" \
20 "TARGET=ALIENFLIGHTF3" \
21 "TARGET=DOGE" \
22 "TARGET=SINGULARITY" \
23 "TARGET=SIRINFPV")
25 #fake a travis build environment
26 export TRAVIS_BUILD_NUMBER=$(date +%s)
27 export BUILDNAME=${BUILDNAME:=fake_travis}
28 export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/simulated}
30 for target in "${targets[@]}"
32 unset RUNTESTS PUBLISHMETA TARGET
33 echo
34 echo
35 echo "BUILDING '$target'"
36 eval "export $target"
37 make -f Makefile clean
38 ./.travis.sh
39 done