add check arm-none-eabi-gcc and unify install step for linux and macos

This commit is contained in:
merlokk 2019-08-22 13:26:05 +03:00
commit 9a21bf8b2d

View file

@ -45,13 +45,13 @@ addons:
taps: RfidResearchGroup/proxmark3 taps: RfidResearchGroup/proxmark3
install: install:
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if ! arm-none-eabi-gccx -v; then
make clean; echo "arm-none-eabi-gcc [ERROR]";
make all V=1 "$MAKE_PARAMS"; travis_terminate 1;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make clean;
make all V=1 "$MAKE_PARAMS";
fi fi
make clean;
make all V=1 "$MAKE_PARAMS";
script: script:
## start and run a test script ## start and run a test script