.travis.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Continuous Integration (CI) is the practice, in software
  2. # engineering, of merging all developer working copies with a shared mainline
  3. # several times a day < http://docs.platformio.org/en/latest/ci/index.html >
  4. #
  5. # Documentation:
  6. #
  7. # * Travis CI Embedded Builds with PlatformIO
  8. # < https://docs.travis-ci.com/user/integration/platformio/ >
  9. #
  10. # * PlatformIO integration with Travis CI
  11. # < http://docs.platformio.org/en/latest/ci/travis.html >
  12. #
  13. # * User Guide for `platformio ci` command
  14. # < http://docs.platformio.org/en/latest/userguide/cmd_ci.html >
  15. #
  16. #
  17. # Please choice one of the following templates (proposed below) and uncomment
  18. # it (remove "# " before each line) or use own configuration according to the
  19. # Travis CI documentation (see above).
  20. #
  21. #
  22. # Template #1: General project. Test it using existing `platformio.ini`.
  23. #
  24. # language: python
  25. # python:
  26. # - "2.7"
  27. #
  28. # sudo: false
  29. # cache:
  30. # directories:
  31. # - "~/.platformio"
  32. #
  33. # install:
  34. # - pip install -U platformio
  35. #
  36. # script:
  37. # - platformio run
  38. #
  39. # Template #2: The project is intended to by used as a library with examples
  40. #
  41. language: python
  42. python:
  43. - "2.7"
  44. sudo: false
  45. cache:
  46. directories:
  47. - "~/.platformio"
  48. env:
  49. - PLATFORMIO_CI_SRC=examples/TM1637Test/TM1637Test.ino
  50. install:
  51. - pip install -U platformio
  52. script:
  53. - platformio ci --lib="." --board=nodemcuv2 --board=ethernet