My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

.travis.yml 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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. before_script:
  27. #
  28. # Change current working directory to the build dir
  29. - cd ${TRAVIS_BUILD_DIR}
  30. #
  31. # Generate custom version include
  32. - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin/src/inc
  33. - cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
  34. #
  35. script:
  36. #
  37. # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
  38. #
  39. - cp Marlin/src/config/Configuration.h Marlin/src/config/Configuration.h.backup
  40. - cp Marlin/src/config/Configuration_adv.h Marlin/src/config/Configuration_adv.h.backup
  41. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  42. #
  43. # Build with the default configurations
  44. #
  45. - restore_configs
  46. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  47. #
  48. # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
  49. # Test a "Fix Mounted" Probe with Safe Homing, some arc options,
  50. # linear bed leveling, M48, leveling debug, and firmware retraction.
  51. #
  52. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  53. - opt_set EXTRUDERS 2
  54. - opt_set TEMP_SENSOR_0 -2
  55. - opt_set TEMP_SENSOR_1 1
  56. - opt_set TEMP_SENSOR_BED 1
  57. - opt_enable PIDTEMPBED Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES
  58. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
  59. - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
  60. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  61. #
  62. # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
  63. #
  64. - opt_enable AUTO_BED_LEVELING_LINEAR BLTOUCH Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  65. - opt_enable_adv FWRETRACT MAX7219_DEBUG
  66. - opt_set ABL_GRID_POINTS_X 16
  67. - opt_set ABL_GRID_POINTS_Y 16
  68. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  69. #
  70. # Test a simple build of AUTO_BED_LEVELING_UBL
  71. #
  72. - restore_configs
  73. - opt_enable AUTO_BED_LEVELING_UBL UBL_G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT BLTOUCH EEPROM_SETTINGS G3D_PANEL
  74. - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING BABYSTEP_ZPROBE_OFFSET
  75. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  76. #
  77. # Test a Sled Z Probe
  78. # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
  79. #
  80. - restore_configs
  81. - opt_enable Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  82. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  83. #
  84. # Test a Servo Probe
  85. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  86. #
  87. - restore_configs
  88. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  89. - opt_set NUM_SERVOS 1
  90. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  91. - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
  92. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  93. #
  94. # Test MESH_BED_LEVELING feature, with LCD
  95. #
  96. - restore_configs
  97. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
  98. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  99. #
  100. # Test PROBE_MANUALLY feature, with LCD support,
  101. # EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  102. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  103. #
  104. - restore_configs
  105. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  106. - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR LCD_BED_LEVELING ULTIMAKERCONTROLLER
  107. - opt_enable EEPROM_SETTINGS M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  108. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  109. #
  110. # Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
  111. # Include a test for LIN_ADVANCE here also
  112. #
  113. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  114. - opt_set EXTRUDERS 5
  115. - opt_set TEMP_SENSOR_1 1
  116. - opt_set TEMP_SENSOR_2 5
  117. - opt_set TEMP_SENSOR_3 20
  118. - opt_set TEMP_SENSOR_4 999
  119. - opt_set TEMP_SENSOR_BED 1
  120. - opt_enable_adv LIN_ADVANCE
  121. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  122. #
  123. # Mixing Extruder with 5 steppers
  124. #
  125. - restore_configs
  126. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  127. - opt_enable MIXING_EXTRUDER
  128. - opt_set MIXING_STEPPERS 5
  129. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  130. #
  131. # Test DUAL_X_CARRIAGE
  132. #
  133. - restore_configs
  134. - opt_set MOTHERBOARD BOARD_RUMBA
  135. - opt_set EXTRUDERS 2
  136. - opt_set TEMP_SENSOR_1 1
  137. - opt_enable USE_XMAX_PLUG
  138. - opt_enable_adv DUAL_X_CARRIAGE
  139. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  140. #
  141. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  142. #
  143. - restore_configs
  144. - opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  145. - opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  146. - opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  147. - opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  148. #
  149. # Test SWITCHING_EXTRUDER
  150. #
  151. - restore_configs
  152. - opt_set MOTHERBOARD BOARD_RUMBA
  153. - opt_set EXTRUDERS 2
  154. - opt_enable NUM_SERVOS
  155. - opt_set NUM_SERVOS 1
  156. - opt_set TEMP_SENSOR_1 1
  157. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  158. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  159. #
  160. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  161. # ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
  162. # PRINTCOUNTER, NOZZLE_PARK_FEATURE, NOZZLE_CLEAN_FEATURE, PCA9632,
  163. # Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS, BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS,
  164. # FILAMENT_CHANGE_FEATURE, PARK_HEAD_ON_PAUSE, LCD_INFO_MENU,
  165. #
  166. - restore_configs
  167. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR SDSUPPORT
  168. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632
  169. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
  170. - opt_set_adv I2C_SLAVE_ADDRESS 63
  171. - opt_enable_adv FILAMENT_CHANGE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
  172. - pins_set RAMPS X_MAX_PIN -1
  173. - opt_set_adv Z2_MAX_PIN 2
  174. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  175. #
  176. # Enable COREXY
  177. #
  178. - restore_configs
  179. - opt_enable COREXY
  180. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  181. #
  182. # Enable COREYX (swapped)
  183. #
  184. #- restore_configs
  185. #- opt_enable COREYX
  186. #- build_marlin
  187. #
  188. #
  189. ######## Other Standard LCD/Panels ##############
  190. #
  191. # ULTRA_LCD
  192. #
  193. - restore_configs
  194. - opt_enable ULTRA_LCD
  195. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  196. #
  197. # DOGLCD
  198. #
  199. - restore_configs
  200. - opt_enable DOGLCD
  201. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  202. #
  203. # MAKRPANEL
  204. # Needs to use Melzi and Sanguino hardware
  205. #
  206. #- restore_configs
  207. #- opt_enable MAKRPANEL
  208. #- build_marlin
  209. #
  210. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  211. #
  212. - restore_configs
  213. - opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  214. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  215. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  216. #
  217. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  218. #
  219. - restore_configs
  220. - opt_enable G3D_PANEL SDSUPPORT
  221. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING
  222. - opt_set_adv SDSORT_GCODE true
  223. - opt_set_adv SDSORT_USES_RAM true
  224. - opt_set_adv SDSORT_USES_STACK true
  225. - opt_set_adv SDSORT_CACHE_NAMES true
  226. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  227. #
  228. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  229. #
  230. - restore_configs
  231. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  232. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING
  233. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  234. #
  235. # REPRAPWORLD_KEYPAD
  236. #
  237. # Cant find configuration details to get it to compile
  238. #- restore_configs
  239. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  240. #- build_marlin
  241. #
  242. # RA_CONTROL_PANEL
  243. #
  244. - restore_configs
  245. - opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  246. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  247. #
  248. ######## I2C LCD/PANELS ##############
  249. #
  250. # !!!ATTENTION!!!
  251. # Most I2C configurations are failing at the moment because they require
  252. # a different Liquid Crystal library "LiquidTWI2".
  253. #
  254. # LCD_I2C_SAINSMART_YWROBOT
  255. #
  256. #- restore_configs
  257. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  258. #- build_marlin
  259. #
  260. # LCD_I2C_PANELOLU2
  261. #
  262. #- restore_configs
  263. #- opt_enable LCD_I2C_PANELOLU2
  264. #- build_marlin
  265. #
  266. # LCD_I2C_VIKI
  267. #
  268. #- restore_configs
  269. #- opt_enable LCD_I2C_VIKI
  270. #- build_marlin
  271. #
  272. # LCM1602
  273. #
  274. - restore_configs
  275. - opt_enable LCM1602
  276. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  277. #
  278. #
  279. ######## Example Configurations ##############
  280. #
  281. # BQ Hephestos 2
  282. #- restore_configs
  283. #- use_example_configs Hephestos_2
  284. #- build_marlin
  285. #
  286. # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
  287. - use_example_configs delta/generic
  288. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_AUTO_CALIBRATION DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
  289. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  290. #
  291. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  292. #
  293. - use_example_configs delta/generic
  294. - opt_disable DISABLE_MIN_ENDSTOPS
  295. - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS OLED_PANEL_TINYBOY2
  296. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  297. #
  298. # Delta Config (FLSUN AC because it's complex)
  299. #
  300. - use_example_configs delta/FLSUN/auto_calibrate
  301. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  302. #
  303. # Makibox Config need to check board type for Teensy++ 2.0
  304. #
  305. #- use_example_configs makibox
  306. #- build_marlin
  307. #
  308. # SCARA with TMC2130
  309. #
  310. - use_example_configs SCARA
  311. - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS ULTIMAKERCONTROLLER
  312. - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
  313. - opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
  314. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  315. #
  316. # tvrrug Config need to check board type for sanguino atmega644p
  317. #
  318. #- use_example_configs tvrrug/Round2
  319. #- build_marlin
  320. #
  321. #
  322. ######## Board Types #############
  323. #
  324. # To be added in nightly test branch
  325. #
  326. - export TEST_PLATFORM="-e teensy35"
  327. - restore_configs
  328. - opt_set MOTHERBOARD BOARD_TEENSY35_36
  329. - cp Marlin/src/config/Configuration.h Marlin/src/config/Configuration.h.backup
  330. - cp Marlin/src/config/Configuration_adv.h Marlin/src/config/Configuration_adv.h.backup
  331. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  332. #
  333. # Test Teensy3.5 with default config
  334. #
  335. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  336. #
  337. # Test as many features together as possible
  338. #
  339. - restore_configs
  340. - opt_set EXTRUDERS 2
  341. - opt_set TEMP_SENSOR_0 1
  342. - opt_set TEMP_SENSOR_1 5
  343. - opt_set TEMP_SENSOR_BED 1
  344. - opt_enable ULTIMAKERCONTROLLER SDSUPPORT
  345. - opt_enable FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY
  346. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  347. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER
  348. - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA
  349. - opt_set_adv I2C_SLAVE_ADDRESS 63
  350. - opt_set ABL_GRID_POINTS_X 16
  351. - opt_set ABL_GRID_POINTS_Y 16
  352. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  353. #
  354. # Test a Sled Z Probe with Linear leveling
  355. #
  356. - restore_configs
  357. - opt_enable Z_PROBE_SLED
  358. - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  359. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  360. #
  361. # Test a Servo Probe
  362. #
  363. - restore_configs
  364. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  365. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  366. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  367. #
  368. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  369. #
  370. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  371. - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  372. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  373. #
  374. # Test MESH_BED_LEVELING feature, with LCD
  375. #
  376. - restore_configs
  377. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  378. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  379. #
  380. # Mixing Extruder
  381. #
  382. - restore_configs
  383. - opt_enable MIXING_EXTRUDER
  384. - opt_set MIXING_STEPPERS 2
  385. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  386. #
  387. # Test DUAL_X_CARRIAGE
  388. #
  389. #- restore_configs
  390. #- opt_set EXTRUDERS 2
  391. #- opt_set TEMP_SENSOR_1 1
  392. #- opt_enable USE_XMAX_PLUG
  393. #- opt_enable_adv DUAL_X_CARRIAGE
  394. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  395. #
  396. # Test SWITCHING_EXTRUDER
  397. #
  398. - restore_configs
  399. - opt_set EXTRUDERS 2
  400. - opt_enable NUM_SERVOS
  401. - opt_set NUM_SERVOS 1
  402. - opt_set TEMP_SENSOR_1 1
  403. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  404. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  405. #
  406. # Enable COREXY
  407. #
  408. - restore_configs
  409. - opt_enable COREXY
  410. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  411. #
  412. # Enable COREXZ
  413. #
  414. - restore_configs
  415. - opt_enable COREXZ
  416. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  417. #
  418. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  419. #
  420. - restore_configs
  421. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  422. - pins_set RAMPS X_MAX_PIN -1
  423. - opt_set_adv Z2_MAX_PIN 2
  424. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}