.travis.yml 796 B

123456789101112131415161718192021222324252627282930313233
  1. language: python
  2. python:
  3. - "2.7"
  4. # Short duration job, use the container/without sudo image as it boots faster
  5. sudo: false
  6. # Use the latest Travis images since they are more up to date than the stable release.
  7. group: edge
  8. cache:
  9. directories:
  10. - "~/.platformio"
  11. env:
  12. global:
  13. # Warnings are errors
  14. - PLATFORMIO_BUILD_FLAGS="-Werror"
  15. matrix:
  16. fast_finish: true
  17. include:
  18. - env: BOARD=teensylc PLATFORMIO_CI_SRC=examples/PrintInfo
  19. - env: BOARD=teensy30 PLATFORMIO_CI_SRC=examples/PrintInfo
  20. - env: BOARD=teensy31 PLATFORMIO_CI_SRC=examples/PrintInfo
  21. - env: BOARD=teensy35 PLATFORMIO_CI_SRC=examples/PrintInfo
  22. - env: BOARD=teensy36 PLATFORMIO_CI_SRC=examples/PrintInfo
  23. install:
  24. - pip install -U platformio
  25. script:
  26. - platformio ci --lib="." --board=$BOARD