Timeout issue at exit/switch ESC channel fixed
[betaflight.git] / fake_travis_build.sh
blob3d2f160f2e5c91a16e331b23753f0adee9693947
1 #!/bin/bash
3 targets=("PUBLISHMETA=True" \
4 "RUNTESTS=True" \
5 "TARGET=CC3D" \
6 "TARGET=CC3D OPBL=yes" \
7 "TARGET=CHEBUZZF3" \
8 "TARGET=CJMCU" \
9 "TARGET=COLIBRI_RACE" \
10 "TARGET=EUSTM32F103RC" \
11 "TARGET=SPRACINGF3" \
12 "TARGET=NAZE" \
13 "TARGET=NAZE32PRO" \
14 "TARGET=OLIMEXINO" \
15 "TARGET=PORT103R" \
16 "TARGET=SPARKY" \
17 "TARGET=STM32F3DISCOVERY" \
18 "TARGET=ALIENWIIF1" \
19 "TARGET=ALIENWIIF3")
21 #fake a travis build environment
22 export TRAVIS_BUILD_NUMBER=$(date +%s)
23 export BUILDNAME=${BUILDNAME:=fake_travis}
24 export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/simulated}
26 for target in "${targets[@]}"
28 unset RUNTESTS PUBLISHMETA TARGET OPBL
29 eval "export $target"
30 make clean
31 ./.travis.sh
32 done