1234567891011121314151617181920 |
- #!/bin/sh -eux
- pip install --user platformio
- case $BOARD in
- uno)
- platformio lib install 868 # SD library
- platformio lib install 872 # Ethernet library
- ;;
- esp01)
- platformio lib uninstall 161 || true
- platformio lib uninstall 868 || true
- platformio lib uninstall 872 || true
- ;;
- esac
- for EXAMPLE in $PWD/examples/*/*.ino;
- do
- platformio ci $EXAMPLE -l '.' -b $BOARD
- done
|