Update issue templates
[betaflight.git] / fake_travis_build.sh
blob03b894df06231bfdec044dbebd938f6bebdd4015
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=BEEBRAIN" \
15 "TARGET=RMDO" \
16 "TARGET=SPARKY" \
17 "TARGET=MOTOLAB" \
18 "TARGET=PIKOBLX" \
19 "TARGET=IRCFUSIONF3" \
20 "TARGET=ALIENFLIGHTF1" \
21 "TARGET=ALIENFLIGHTF3" \
22 "TARGET=DOGE" \
23 "TARGET=SINGULARITY" \
24 "TARGET=SIRINFPV" \
25 "TARGET=X_RACERSPI" \
26 "TARGET=RCEXPLORERF3")
29 #fake a travis build environment
30 export TRAVIS_BUILD_NUMBER=$(date +%s)
31 export BUILDNAME=${BUILDNAME:=fake_travis}
32 export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/simulated}
34 for target in "${targets[@]}"
36 unset RUNTESTS PUBLISHMETA TARGET
37 echo
38 echo
39 echo "BUILDING '$target'"
40 eval "export $target"
41 make -f Makefile clean
42 ./.travis.sh
43 done