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.

44 lines
1.8 KiB

8 years ago
8 years ago
8 years ago
  1. language: python
  2. python:
  3. - "2.7"
  4. # Cache PlatformIO packages using Travis CI container-based infrastructure
  5. #sudo: false
  6. cache:
  7. directories:
  8. - "~/.platformio"
  9. env:
  10. - PLATFORMIO_CI_SRC=examples/BlynkClient PLATFORMIO_CI_ARGS="--board=leonardo"
  11. - PLATFORMIO_CI_SRC=examples/FileDownload PLATFORMIO_CI_ARGS="--board=leonardo"
  12. - PLATFORMIO_CI_SRC=examples/MqttClient PLATFORMIO_CI_ARGS="--board=leonardo"
  13. - PLATFORMIO_CI_SRC=examples/WebClient PLATFORMIO_CI_ARGS="--board=leonardo"
  14. - PLATFORMIO_CI_SRC=tools/SimpleTest PLATFORMIO_CI_ARGS="--board=leonardo"
  15. - PLATFORMIO_CI_SRC=tools/FactoryReset PLATFORMIO_CI_ARGS="--board=leonardo"
  16. - PLATFORMIO_CI_SRC=tools/AT_Debug PLATFORMIO_CI_ARGS="--board=leonardo"
  17. # Arduino test
  18. - PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS="--board=uno --board=leonardo --board=yun --board=megaatmega2560 --board=genuino101 --board=mkr1000USB --board=zero --board=teensy31 --board=uno_pic32 --board=esp01 --board=nodemcuv2 --board=esp32dev"
  19. - PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS="--board=bluepill_f103c8 --project-option='framework=arduino'"
  20. # Energia test
  21. - PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS="--board=lplm4f120h5qr --project-option='framework=energia'"
  22. install:
  23. # ChipKIT issue: install 32-bit support for GCC PIC32
  24. - sudo apt-get install libc6-i386
  25. - pip install -U https://github.com/platformio/platformio/archive/develop.zip
  26. #
  27. # Libraries from PlatformIO Library Registry:
  28. #
  29. # http://platformio.org/lib/show/89/PubSubClient
  30. # http://platformio.org/lib/show/415/Blynk
  31. # http://platformio.org/lib/show/1202/CRC32
  32. # http://platformio.org/lib/show/1286/StreamDebugger
  33. - platformio lib -g install 89 415 1202 1286
  34. script:
  35. - platformio ci --lib="." $PLATFORMIO_CI_ARGS