Merge pull request #9817 from iNavFlight/b14ckyy-Fix-SBF405W-ADC
[inav.git] / fake_travis_build.sh
blobcc140473d99b97bae531ba9b58b0b895c5801489
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=RCEXPLORERF3" )
12 #fake a travis build environment
13 export TRAVIS_BUILD_NUMBER=$(date +%s)
14 export BUILDNAME=${BUILDNAME:=fake_travis}
15 export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/simulated}
17 for target in "${targets[@]}"
19 unset RUNTESTS PUBLISHMETA TARGET
20 eval "export $target"
21 make clean
22 ./.travis.sh
23 done