My Marlin configs for Fabrikator Mini and CTC i3 Pro B
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.

.travis.yml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. dist: trusty
  2. sudo: false
  3. language: python
  4. python:
  5. - "2.7"
  6. notifications:
  7. email: false
  8. # Cache PlatformIO packages using Travis CI container-based infrastructure
  9. sudo: false
  10. cache:
  11. pip: true
  12. directories:
  13. - "~/.platformio"
  14. env:
  15. - TEST_PLATFORM="-e megaatmega2560"
  16. before_install:
  17. #
  18. # Fetch the tag information for the current branch
  19. - git fetch origin --tags
  20. #
  21. # Publish the buildroot script folder
  22. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
  23. - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
  24. install:
  25. #- pip install -U platformio
  26. - pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
  27. before_script:
  28. # Update PlatformIO packages
  29. - platformio update
  30. #
  31. # Change current working directory to the build dir
  32. - cd ${TRAVIS_BUILD_DIR}
  33. #
  34. # Generate custom version include
  35. - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin/src/inc
  36. - cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
  37. #
  38. script:
  39. #
  40. # Backup pins_RAMPS.h
  41. #
  42. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  43. #
  44. # Build with the default configurations
  45. #
  46. - restore_configs
  47. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  48. #
  49. # find U8glib files
  50. - sudo find / -iname u8g.h
  51. - sudo find / -iname U8glib.h
  52. # expose the C API
  53. #- sudo cp -f ${TRAVIS_BUILD_DIR}/.piolibdeps/U8glib-HAL_ID1932/src/lib/u8g.h ${TRAVIS_BUILD_DIR}/.piolibdeps/U8glib-HAL_ID1932/src/u8g.h
  54. #
  55. #
  56. # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
  57. # Test a "Fix Mounted" Probe with Safe Homing, some arc options,
  58. # linear bed leveling, M48, leveling debug, and firmware retraction.
  59. #
  60. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  61. - opt_set EXTRUDERS 2
  62. - opt_set TEMP_SENSOR_0 -2
  63. - opt_set TEMP_SENSOR_1 1
  64. - opt_set TEMP_SENSOR_BED 1
  65. - opt_set POWER_SUPPLY 1
  66. - opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING
  67. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
  68. - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_LED AUTO_POWER_CONTROL NOZZLE_PARK_FEATURE FILAMENT_RUNOUT_SENSOR
  69. - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
  70. - opt_enable_adv ARC_P_CIRCLES ADVANCED_PAUSE_FEATURE CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS
  71. - opt_enable_adv FWRETRACT MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CODEPENDENT_XY_HOMING
  72. - opt_set GRID_MAX_POINTS_X 16
  73. - opt_set_adv FANMUX0_PIN 53
  74. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  75. #
  76. # Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
  77. #
  78. - restore_configs
  79. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  80. - opt_set EXTRUDERS 5
  81. - opt_set TEMP_SENSOR_1 1
  82. - opt_set TEMP_SENSOR_2 5
  83. - opt_set TEMP_SENSOR_3 20
  84. - opt_set TEMP_SENSOR_4 999
  85. - opt_set TEMP_SENSOR_BED 1
  86. - opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT EEPROM_SETTINGS EEPROM_CHITCHAT G3D_PANEL SKEW_CORRECTION
  87. - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING BABYSTEP_XY LIN_ADVANCE NANODLP_Z_SYNC QUICK_HOME
  88. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  89. #
  90. # Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language
  91. #
  92. - opt_set LANGUAGE jp-kana
  93. - opt_enable Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
  94. - opt_disable SEGMENT_LEVELED_MOVES
  95. - opt_enable_adv BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING
  96. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  97. #
  98. # Test a Servo Probe
  99. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  100. #
  101. - restore_configs
  102. - opt_enable NUM_SERVOS Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  103. - opt_set NUM_SERVOS 1
  104. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  105. - opt_enable_adv NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
  106. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  107. #
  108. # Test MESH_BED_LEVELING feature, with LCD
  109. #
  110. - restore_configs
  111. - opt_enable MESH_BED_LEVELING G26_MESH_EDITING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
  112. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  113. #
  114. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  115. # PROBE_MANUALLY feature, with LCD support,
  116. # ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
  117. # PRINTCOUNTER, NOZZLE_PARK_FEATURE, NOZZLE_CLEAN_FEATURE, PCA9632,
  118. # Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS, BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS,
  119. # ADVANCED_PAUSE_FEATURE, ADVANCED_PAUSE_CONTINUOUS_PURGE, PARK_HEAD_ON_PAUSE, LCD_INFO_MENU,
  120. # EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  121. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  122. #
  123. - restore_configs
  124. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  125. - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR G26_MESH_EDITING LCD_BED_LEVELING ULTIMAKERCONTROLLER
  126. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  127. - opt_enable ULTIMAKERCONTROLLER SDSUPPORT
  128. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632 USE_XMAX_PLUG
  129. - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
  130. - opt_enable_adv ADVANCED_PAUSE_FEATURE ADVANCED_PAUSE_CONTINUOUS_PURGE FILAMENT_LOAD_UNLOAD_GCODES PARK_HEAD_ON_PAUSE LCD_INFO_MENU M114_DETAIL
  131. - opt_set_adv PWM_MOTOR_CURRENT {1300,1300,1250}
  132. - opt_set_adv I2C_SLAVE_ADDRESS 63
  133. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  134. #
  135. # Mixing Extruder with 5 steppers
  136. #
  137. - restore_configs
  138. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  139. - opt_enable MIXING_EXTRUDER
  140. - opt_set MIXING_STEPPERS 5
  141. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  142. #
  143. # Test DUAL_X_CARRIAGE
  144. #
  145. - restore_configs
  146. - opt_set MOTHERBOARD BOARD_RUMBA
  147. - opt_set EXTRUDERS 2
  148. - opt_set TEMP_SENSOR_1 1
  149. - opt_enable USE_XMAX_PLUG
  150. - opt_enable_adv DUAL_X_CARRIAGE
  151. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  152. #
  153. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  154. #
  155. - restore_configs
  156. - opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  157. - opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  158. - opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  159. - opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  160. #
  161. # Test SWITCHING_EXTRUDER
  162. #
  163. - restore_configs
  164. - opt_set MOTHERBOARD BOARD_RUMBA
  165. - opt_set EXTRUDERS 2
  166. - opt_enable NUM_SERVOS
  167. - opt_set NUM_SERVOS 1
  168. - opt_set TEMP_SENSOR_1 1
  169. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  170. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  171. #
  172. # Enable COREXY
  173. #
  174. - restore_configs
  175. - opt_enable COREXY
  176. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  177. #
  178. # Test many less common options
  179. #
  180. - restore_configs
  181. - opt_enable COREYX
  182. - opt_set_adv FAN_MIN_PWM 50
  183. - opt_set_adv FAN_KICKSTART_TIME 100
  184. - opt_set_adv XY_FREQUENCY_LIMIT 15
  185. - opt_enable_adv SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER FAN_KICKSTART_TIME
  186. - opt_enable_adv ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ADVANCED_OK
  187. - opt_enable_adv VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL
  188. - opt_enable_adv EXTRA_FAN_SPEED FWERETRACT Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  189. - opt_enable_adv MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
  190. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER
  191. - opt_enable FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR
  192. - opt_enable ENDSTOP_INTERRUPTS_FEATURE FAN_SOFT_PWM SDSUPPORT
  193. - opt_enable USE_XMAX_PLUG
  194. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  195. #
  196. ######## Other Standard LCD/Panels ##############
  197. #
  198. # ULTRA_LCD
  199. #
  200. - restore_configs
  201. - opt_enable ULTRA_LCD
  202. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  203. #
  204. # DOGLCD
  205. #
  206. - restore_configs
  207. - opt_enable DOGLCD
  208. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  209. #
  210. # MAKRPANEL
  211. # Needs to use Melzi and Sanguino hardware
  212. #
  213. #- restore_configs
  214. #- opt_enable MAKRPANEL
  215. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  216. #
  217. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  218. #
  219. - restore_configs
  220. - opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  221. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  222. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  223. #
  224. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  225. #
  226. - restore_configs
  227. - opt_enable G3D_PANEL SDSUPPORT
  228. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
  229. - opt_set_adv SDSORT_GCODE true
  230. - opt_set_adv SDSORT_USES_RAM true
  231. - opt_set_adv SDSORT_USES_STACK true
  232. - opt_set_adv SDSORT_CACHE_NAMES true
  233. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  234. #
  235. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  236. #
  237. - restore_configs
  238. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  239. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES LIGHTWEIGHT_UI
  240. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  241. #
  242. # REPRAPWORLD_KEYPAD
  243. #
  244. # Cant find configuration details to get it to compile
  245. #- restore_configs
  246. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  247. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  248. #
  249. # RA_CONTROL_PANEL
  250. #
  251. - restore_configs
  252. - opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  253. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  254. #
  255. ######## I2C LCD/PANELS ##############
  256. #
  257. # !!!ATTENTION!!!
  258. # Most I2C configurations are failing at the moment because they require
  259. # a different Liquid Crystal library "LiquidTWI2".
  260. #
  261. # LCD_SAINSMART_I2C_1602
  262. #
  263. #- restore_configs
  264. #- opt_enable LCD_SAINSMART_I2C_1602
  265. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  266. #
  267. # LCD_I2C_PANELOLU2
  268. #
  269. #- restore_configs
  270. #- opt_enable LCD_I2C_PANELOLU2
  271. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  272. #
  273. # LCD_I2C_VIKI
  274. #
  275. #- restore_configs
  276. #- opt_enable LCD_I2C_VIKI
  277. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  278. #
  279. # LCM1602
  280. #
  281. - restore_configs
  282. - opt_enable LCM1602
  283. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  284. #
  285. # Language files test with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  286. #
  287. - restore_configs
  288. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  289. - for lang in an bg ca zh_CN zh_TW cz da de el el-gr en es eu fi fr gl hr it jp-kana nl pl pt pt-br ru sk tr uk test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}; done
  290. #
  291. - restore_configs
  292. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
  293. - for lang in an bg ca zh_CN zh_TW cz da de el el-gr en es eu fi fr gl hr it jp-kana nl pl pt pt-br ru sk tr uk test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}; done
  294. #
  295. #
  296. ######## Example Configurations ##############
  297. #
  298. # BQ Hephestos 2
  299. #- restore_configs
  300. #- use_example_configs Hephestos_2
  301. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  302. #
  303. # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
  304. - use_example_configs delta/generic
  305. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
  306. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  307. #
  308. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  309. #
  310. - use_example_configs delta/generic
  311. - opt_disable DISABLE_MIN_ENDSTOPS
  312. - opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
  313. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  314. #
  315. # Delta Config (FLSUN AC because it's complex)
  316. #
  317. - use_example_configs delta/FLSUN/auto_calibrate
  318. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  319. #
  320. # Makibox Config need to check board type for Teensy++ 2.0
  321. #
  322. #- use_example_configs makibox
  323. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  324. #
  325. # SCARA with TMC2130
  326. #
  327. - use_example_configs SCARA
  328. - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER SCARA_FEEDRATE_SCALING
  329. - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
  330. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
  331. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  332. #
  333. # TMC2208 Config
  334. #
  335. - restore_configs
  336. - opt_enable_adv HAVE_TMC2208 X_IS_TMC2208 Y_IS_TMC2208 Z_IS_TMC2208
  337. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG
  338. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  339. #
  340. # tvrrug Config need to check board type for sanguino atmega644p
  341. #
  342. #- use_example_configs tvrrug/Round2
  343. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  344. #
  345. #
  346. ######## Board Types #############
  347. #
  348. # To be added in nightly test branch
  349. #
  350. - export TEST_PLATFORM="-e teensy35"
  351. - restore_configs
  352. - opt_set MOTHERBOARD BOARD_TEENSY35_36
  353. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  354. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  355. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  356. #
  357. # Test Teensy3.5 with default config
  358. #
  359. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  360. #
  361. # Test as many features together as possible
  362. #
  363. - restore_configs
  364. - opt_set EXTRUDERS 2
  365. - opt_set TEMP_SENSOR_0 1
  366. - opt_set TEMP_SENSOR_1 5
  367. - opt_set TEMP_SENSOR_BED 1
  368. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  369. - opt_enable FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY
  370. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  371. - opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY
  372. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER
  373. - opt_enable_adv ADVANCED_PAUSE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA PARK_HEAD_ON_PAUSE
  374. - opt_set_adv I2C_SLAVE_ADDRESS 63
  375. - opt_set GRID_MAX_POINTS_X 16
  376. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  377. #
  378. # Test a Sled Z Probe with Linear leveling
  379. #
  380. - restore_configs
  381. - opt_enable Z_PROBE_SLED
  382. - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  383. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  384. #
  385. # Test a Servo Probe
  386. #
  387. - restore_configs
  388. - opt_enable NUM_SERVOS Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  389. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  390. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  391. #
  392. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  393. #
  394. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  395. - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  396. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  397. #
  398. # Test MESH_BED_LEVELING feature, with LCD
  399. #
  400. - restore_configs
  401. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  402. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  403. #
  404. # Mixing Extruder
  405. #
  406. - restore_configs
  407. - opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1
  408. - opt_set MIXING_STEPPERS 2
  409. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  410. #
  411. # Test SWITCHING_EXTRUDER
  412. #
  413. - restore_configs
  414. - opt_set EXTRUDERS 2
  415. - opt_enable NUM_SERVOS
  416. - opt_set NUM_SERVOS 1
  417. - opt_set TEMP_SENSOR_1 1
  418. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  419. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  420. #
  421. # Enable COREXY
  422. #
  423. - restore_configs
  424. - opt_enable COREXY
  425. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  426. #
  427. # Enable COREXZ
  428. #
  429. - restore_configs
  430. - opt_enable COREXZ
  431. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  432. #
  433. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  434. #
  435. - restore_configs
  436. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  437. - pins_set RAMPS X_MAX_PIN -1
  438. - opt_add_adv Z2_MAX_PIN 2
  439. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  440. #############################
  441. # DUE default config test
  442. #############################
  443. - export TEST_PLATFORM="-e DUE"
  444. - restore_configs
  445. - opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
  446. - opt_set BEZIER_JERK_CONTROL
  447. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  448. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  449. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  450. #############################
  451. # LPC1768 default config test
  452. #############################
  453. - export TEST_PLATFORM="-e LPC1768"
  454. - restore_configs
  455. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  456. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  457. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  458. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  459. #
  460. # Enable VIKI2, SDSUPPORT
  461. #
  462. - restore_configs
  463. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  464. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  465. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  466. - opt_enable VIKI2 SDSUPPORT
  467. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}