Fix DSHOT-less builds
[inav.git] / fake_travis_build.sh
blob8e453e119df0fd20ff1f89755f8a2644dd98ade5
1 #!/bin/bash
3 targets=("PUBLISHMETA=True" \
4 "RUNTESTS=True" \
5 "TARGET=SPRACINGF3" \
6 "TARGET=SPRACINGF3EVO" \
7 "TARGET=LUX_RACE" \
8 "TARGET=MOTOLAB" \
9 "TARGET=RMDO" \
10 "TARGET=SPARKY" \
11 "TARGET=STM32F3DISCOVERY" \
12 "TARGET=RCEXPLORERF3" )
13 #fake a travis build environment
14 export TRAVIS_BUILD_NUMBER=$(date +%s)
15 export BUILDNAME=${BUILDNAME:=fake_travis}
16 export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/simulated}
18 for target in "${targets[@]}"
20 unset RUNTESTS PUBLISHMETA TARGET
21 eval "export $target"
22 make clean
23 ./.travis.sh
24 done