platformio.sh 385 B

1234567891011121314151617181920
  1. #!/bin/sh -eux
  2. pip install --user platformio
  3. case $BOARD in
  4. uno)
  5. platformio lib install 868 # SD library
  6. platformio lib install 872 # Ethernet library
  7. ;;
  8. esp01)
  9. platformio lib uninstall 161 || true
  10. platformio lib uninstall 868 || true
  11. platformio lib uninstall 872 || true
  12. ;;
  13. esac
  14. for EXAMPLE in $PWD/examples/*/*.ino;
  15. do
  16. platformio ci $EXAMPLE -l '.' -b $BOARD
  17. done