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.

24 lines
568 B

9 years ago
9 years ago
  1. #!/bin/bash
  2. targets=("PUBLISHMETA=True" \
  3. "RUNTESTS=True" \
  4. "TARGET=SPRACINGF3" \
  5. "TARGET=SPRACINGF3EVO" \
  6. "TARGET=LUX_RACE" \
  7. "TARGET=MOTOLAB" \
  8. "TARGET=RMDO" \
  9. "TARGET=SPARKY" \
  10. "TARGET=STM32F3DISCOVERY" \
  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}
  16. for target in "${targets[@]}"
  17. do
  18. unset RUNTESTS PUBLISHMETA TARGET
  19. eval "export $target"
  20. make clean
  21. ./.travis.sh
  22. done