Fork of the espurna firmware for `mhsw` switches
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.

63 lines
3.3 KiB

  1. os: linux
  2. language: python
  3. python:
  4. - '3.8'
  5. cache:
  6. directories:
  7. - ~/.npm
  8. - ~/.platformio
  9. env:
  10. global:
  11. - BUILDER_TOTAL_THREADS=4
  12. - ESPURNA_PIO_PATCH_ISSUE_1610=y
  13. - ESPURNA_PIO_SHARED_LIBRARIES=y
  14. install:
  15. - ./travis_install.sh
  16. script:
  17. - ./travis_script.sh
  18. stages:
  19. - name: Test Host
  20. if: tag IS NOT present
  21. - name: Test WebUI
  22. if: tag IS NOT present
  23. - name: Test PlatformIO Build
  24. if: tag IS NOT present
  25. - name: Release
  26. if: tag IS present AND tag =~ ^\d+\.\d+\.\d+$
  27. jobs:
  28. include:
  29. - stage: Test Host
  30. - stage: Test WebUI
  31. - stage: Test PlatformIO Build
  32. env: TEST_ENV=travis-2_3_0
  33. - env: TEST_ENV=travis-latest
  34. - env: >-
  35. TEST_ENV=travis-git TEST_EXTRA_ARGS="-a
  36. test/build/extra/secure_client.h"
  37. - stage: Release
  38. env: BUILDER_THREAD=0
  39. - env: BUILDER_THREAD=1
  40. - env: BUILDER_THREAD=2
  41. - env: BUILDER_THREAD=3
  42. before_deploy:
  43. - mv firmware/*/espurna-*.bin firmware/
  44. deploy:
  45. provider: releases
  46. api_key:
  47. secure: >-
  48. LMCdaQnCxSQ5EuKhqcFR6VTfDCWc06jwD4fdHfkmBaeWBMMzdoZEqN26AwdTnoLLlQJTR9l21NypgGybssBr69Md/ZinMahWCJJ4gVzPe9Adr9ijRbzj/wckirLBVZjRWn8fxTjJgjpu1ten2CgBfNcc/roN3fI6DV/1Fvv1REfihND4EeIermsxIVRXOyluu1vnPV9ZM28XBNch9XfkKwIpLEaHNNtkzlSEua39U34WpZShrxxEVoZhiF/R1ZF+NiAnursPcPsn5hdrXyHFLFT2dVDnlpdIp79c6SGkCZ636//5erB6hgBHshbwuT9TYXxtwLyL7AeN/MfCg0gtZSsDII8mLKzytW1tl7r1W9l7s21z/55tljSz2Z6dcbJC3bxucgcLxM9R6PrsPdDrPQTd0QwYqYalMNlfuA8KGcesZueqI9Q4uw7uHFUwIp7FIaoKhwhjTKe/ZHZ75zU4wdBTXof4dnSQOudoGGjRyyj7V0eR/Mhuni45N2Bldy9hDaldgtWMuEdx3ABW1IrPXtPDVTXM6QjUHm0nj5zzCgoCvQEw3jycA7Wlgbzo8MQkKH3u4MtupJcEGHJAqMbk+JlRpIfdWTiqtI697CReRGYSWT6YxF68TeJo77JPPph724BIBMtKtIk2+4RkHxz5RqM8O2vt+AFNjnWNIvVQtY8=
  49. file_glob: true
  50. file: firmware/espurna-*.bin
  51. skip_cleanup: true
  52. on:
  53. tags: true
  54. repo: xoseperez/espurna
  55. condition: $TRAVIS_BUILD_STAGE_NAME = Release
  56. notifications:
  57. pushover:
  58. api_key:
  59. secure: >-
  60. wtAleSibUqDOH7KskYMIFXwNqqZMA/2flCJzu835hSFWDFTjdXGeYLmQxCI7FGTWHcvWgf5pt3KR3OXtABVDfwqLj0HZjEubIypm56mZKsEaP32JlQiAw+Qz1KSU/5gEKEI3NU5MuL1rIebSEo9iVgwVDMn51GI9qv0LbjLKfXpxBmJXL/OmBRggVMswScCppXJLVlyMSRj9qT0Ds/lz+SL1g6vZHPO8r3z1BSOMA0eWNUYd/Huhe1XAHYzS4mS3aybPsPKldpv0igsvE5BHT37rb43QA0pHxv2M09QlBRNBI6kHgxzCw2OJ4uz5/K2U/4LBMDJrAj6rUGAhKn8Wuiw4B/kZb+WsvRCcCTHGYTc20KWrrV4aOojQRLht1FgNg7Ub+NNm5T9LBG+XKKHARTv1Kv09nCpPVD8NvF5YPRsSb7ZL6s/wUGSNuu365aVs3BnnazXb+ha33Hg0bCBEwmlW6FKdQ7S8OYsoIobTUcporRs8p089EQ8vNxN0osHnKPX5M0ZOxbBOIt5fQO2B+Cdn+m4hx/DETM5HMLZ/GpsbY9eiN7H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