diff --git a/.travis.yml b/.travis.yml index a4cb85f02..ab5e33d1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,4 @@ install: - export CXX="g++-5" CC="gcc-5" script: - - radio/util/commit-tests.sh + - ./radio/util/commit-tests.sh . diff --git a/radio/util/commit-tests.sh b/radio/util/commit-tests.sh index 8e6018268..866a16190 100755 --- a/radio/util/commit-tests.sh +++ b/radio/util/commit-tests.sh @@ -9,73 +9,74 @@ cd build # Companion rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS $1 make -j2 # OpenTX on 9X stock with FrSky telemetry rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=9X -DHELI=YES -DEXT=FRSKY .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=9X -DHELI=YES -DEXT=FRSKY $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on 9X stock with Mavlink telemetry rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=9X -DHELI=YES -DEXT=MAVLINK .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=9X -DHELI=YES -DEXT=MAVLINK $1 make -j2 firmware # OpenTX on Mega2560 rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=MEGA2560 -DHELI=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=MEGA2560 -DHELI=YES $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on Mega2560 with Mavlink telemetry rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=MEGA2560 -DEXT=MAVLINK -DHELI=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=MEGA2560 -DEXT=MAVLINK -DHELI=YES $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on gruvin9x board rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=GRUVIN9X -DHELI=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=GRUVIN9X -DHELI=YES $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on Sky9x rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=SKY9X -DHELI=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=SKY9X -DHELI=YES $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on Taranis rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS -DHELI=YES -DLUA=YES -DWARNINGS_AS_ERRORS=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS -DHELI=YES -DLUA=YES -DWARNINGS_AS_ERRORS=YES $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on Taranis X9E rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS -DPCBREV=REV9E -DHELI=YES -DLUA=YES -DWARNINGS_AS_ERRORS=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS -DPCBREV=REV9E -DHELI=YES -DLUA=YES -DWARNINGS_AS_ERRORS=YES $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on Taranis Plus rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS -DPCBREV=REVPLUS -DHELI=YES -DLUA=YES -DWARNINGS_AS_ERRORS=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=TARANIS -DPCBREV=REVPLUS -DHELI=YES -DLUA=YES -DWARNINGS_AS_ERRORS=YES $1 make -j2 firmware make -j2 simu make -j2 gtests ; ./gtests # OpenTX on Horus rm -rf * -cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=HORUS -DHELI=NO -DUSB=SERIAL -DCLI=YES -DDEBUG=YES .. +cmake -DCMAKE_BUILD_TYPE=Debug -DPCB=HORUS -DHELI=NO -DUSB=SERIAL -DCLI=YES -DDEBUG=YES $1 make -j2 firmware make -j2 simu #make -j2 gtests ; ./gtests +