Fork from inav at github. Modified for some special functions needs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
813 B

9 years ago
9 years ago
  1. #!/bin/bash
  2. targets=("PUBLISHMETA=True" \
  3. "RUNTESTS=True" \
  4. "TARGET=CC3D" \
  5. "TARGET=CHEBUZZF3" \
  6. "TARGET=CJMCU" \
  7. "TARGET=COLIBRI_RACE" \
  8. "TARGET=EUSTM32F103RC" \
  9. "TARGET=SPRACINGF3" \
  10. "TARGET=SPRACINGF3EVO" \
  11. "TARGET=LUX_RACE" \
  12. "TARGET=MOTOLAB" \
  13. "TARGET=NAZE" \
  14. "TARGET=NAZE32PRO" \
  15. "TARGET=OLIMEXINO" \
  16. "TARGET=PORT103R" \
  17. "TARGET=RMDO" \
  18. "TARGET=SPARKY" \
  19. "TARGET=STM32F3DISCOVERY" \
  20. "TARGET=ALIENFLIGHTF3"\
  21. "TARGET=RCEXPLORERF3" )
  22. #fake a travis build environment
  23. export TRAVIS_BUILD_NUMBER=$(date +%s)
  24. export BUILDNAME=${BUILDNAME:=fake_travis}
  25. export TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/simulated}
  26. for target in "${targets[@]}"
  27. do
  28. unset RUNTESTS PUBLISHMETA TARGET
  29. eval "export $target"
  30. make clean
  31. ./.travis.sh
  32. done