.travis.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. dist: bionic
  2. sudo: false
  3. language: python
  4. python:
  5. - "3.7"
  6. notifications:
  7. email: false
  8. env:
  9. # Base Environments
  10. - TEST_PLATFORM="DUE"
  11. - TEST_PLATFORM="esp32"
  12. - TEST_PLATFORM="linux_native"
  13. - TEST_PLATFORM="megaatmega2560"
  14. - TEST_PLATFORM="teensy31"
  15. - TEST_PLATFORM="teensy35"
  16. # Extended AVR Environments
  17. - TEST_PLATFORM="FYSETC_F6_13"
  18. - TEST_PLATFORM="megaatmega1280"
  19. - TEST_PLATFORM="rambo"
  20. - TEST_PLATFORM="sanguino_atmega1284p"
  21. - TEST_PLATFORM="sanguino_atmega644p"
  22. # Extended STM32 Environments
  23. - TEST_PLATFORM="STM32F103RC_bigtree"
  24. - TEST_PLATFORM="STM32F103RC_bigtree_USB"
  25. - TEST_PLATFORM="STM32F103RE_bigtree"
  26. - TEST_PLATFORM="STM32F103RE_bigtree_USB"
  27. - TEST_PLATFORM="STM32F103RC_fysetc"
  28. - TEST_PLATFORM="jgaurora_a5s_a1"
  29. - TEST_PLATFORM="STM32F103VE_longer"
  30. - TEST_PLATFORM="STM32F407VE_black"
  31. - TEST_PLATFORM="BIGTREE_SKR_PRO"
  32. - TEST_PLATFORM="mks_robin"
  33. - TEST_PLATFORM="ARMED"
  34. # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
  35. #- TEST_PLATFORM="STM32F4"
  36. #- TEST_PLATFORM="STM32F7"
  37. # Put lengthy tests last
  38. - TEST_PLATFORM="LPC1768"
  39. - TEST_PLATFORM="LPC1769"
  40. # Non-working environment tests
  41. #- TEST_PLATFORM="BIGTREE_BTT002" this board isn't released yet. we need pinout to be sure about what we do
  42. #- TEST_PLATFORM="at90usb1286_cdc"
  43. #- TEST_PLATFORM="at90usb1286_dfu"
  44. #- TEST_PLATFORM="STM32F103CB_malyan"
  45. #- TEST_PLATFORM="mks_robin_lite"
  46. #- TEST_PLATFORM="mks_robin_mini"
  47. #- TEST_PLATFORM="mks_robin_nano"
  48. #- TEST_PLATFORM="SAMD51_grandcentral_m4"
  49. before_install:
  50. #
  51. # Fetch the tag information for the current branch
  52. - git fetch origin --tags
  53. #
  54. # Publish the buildroot script folder
  55. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
  56. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/share/tests/*
  57. - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${TRAVIS_BUILD_DIR}/buildroot/share/tests/:${PATH}
  58. install:
  59. #- pip install -U platformio
  60. - pip install -U https://github.com/platformio/platformio-core/archive/master.zip
  61. before_script:
  62. # Update PlatformIO packages
  63. - platformio update
  64. #
  65. # Change current working directory to the build dir
  66. - cd ${TRAVIS_BUILD_DIR}
  67. #
  68. # Generate custom version include
  69. - generate_version ${TRAVIS_BUILD_DIR}/Marlin/
  70. - cat ${TRAVIS_BUILD_DIR}/Marlin/Version.h
  71. #
  72. script:
  73. - run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}