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 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. ---
  2. language: c
  3. #
  4. notifications:
  5. email: false
  6. #
  7. before_install:
  8. #
  9. # Fetch the tag information for the current branch
  10. - git fetch origin --tags
  11. #
  12. # Publish the buildroot script folder
  13. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
  14. - ln -s ${TRAVIS_BUILD_DIR}/buildroot/bin/ ~/bin
  15. #
  16. # Start fb X server
  17. - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
  18. - sleep 3
  19. - export DISPLAY=:1.0
  20. #
  21. install:
  22. #
  23. # Install arduino 1.6.9
  24. - wget http://downloads-02.arduino.cc/arduino-1.6.9-linux64.tar.xz
  25. - tar xf arduino-1.6.9-linux64.tar.xz
  26. - sudo mv arduino-1.6.9 /usr/local/share/arduino
  27. - ln -s /usr/local/share/arduino/arduino ${TRAVIS_BUILD_DIR}/buildroot/bin/arduino
  28. #
  29. # Install: LiquidCrystal_I2C library
  30. - git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
  31. - mv LiquidCrystal_I2C/LiquidCrystal_I2C /usr/local/share/arduino/libraries/LiquidCrystal_I2C
  32. #
  33. # Install: LiquidTWI2 library
  34. - git clone https://github.com/lincomatic/LiquidTWI2.git
  35. - sudo mv LiquidTWI2 /usr/local/share/arduino/libraries/LiquidTWI2
  36. #
  37. # Install: Monochrome Graphics Library for LCDs and OLEDs
  38. - arduino --install-library "U8glib"
  39. #
  40. # Install: L6470 Stepper Motor Driver library
  41. - git clone https://github.com/ameyer/Arduino-L6470.git
  42. - sudo mv Arduino-L6470/L6470 /usr/local/share/arduino/libraries/L6470
  43. #
  44. # Install: TMC26X Stepper Motor Controller library
  45. - git clone https://github.com/trinamic/TMC26XStepper.git
  46. - sudo mv TMC26XStepper /usr/local/share/arduino/libraries/TMC26XStepper
  47. #
  48. before_script:
  49. #
  50. # Change current working directory to the build dir
  51. - cd ${TRAVIS_BUILD_DIR}
  52. #
  53. # Generate custom version include
  54. - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin
  55. - cat ${TRAVIS_BUILD_DIR}/Marlin/_Version.h
  56. #
  57. script:
  58. #
  59. # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
  60. #
  61. - cp Marlin/Configuration.h Marlin/Configuration.h.backup
  62. - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
  63. - cp Marlin/pins_RAMPS.h Marlin/pins_RAMPS.h.backup
  64. #
  65. # Build with the default configurations
  66. #
  67. - build_marlin
  68. #
  69. # Test heated bed temperature sensor
  70. #
  71. - opt_set TEMP_SENSOR_BED 1
  72. - build_marlin
  73. #
  74. # Test 2 extruders on basic RAMPS 1.4
  75. #
  76. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  77. - opt_set EXTRUDERS 2
  78. - opt_set TEMP_SENSOR_1 1
  79. - build_marlin
  80. #
  81. # Test 3 extruders on RUMBA (can use any board with >=3 extruders defined)
  82. # Include a test for LIN_ADVANCE here also
  83. #
  84. - opt_set MOTHERBOARD BOARD_RUMBA
  85. - opt_set EXTRUDERS 3
  86. - opt_set TEMP_SENSOR_2 1
  87. - opt_enable_adv LIN_ADVANCE
  88. - build_marlin
  89. #
  90. # Test PIDTEMPBED
  91. #
  92. - restore_configs
  93. - opt_enable PIDTEMPBED
  94. - build_marlin
  95. #
  96. # Test MAX6675
  97. #
  98. - restore_configs
  99. - opt_set TEMP_SENSOR_0 -2
  100. - build_marlin
  101. #
  102. # Test a "Fix Mounted" Probe along with Safe Homing
  103. #
  104. - restore_configs
  105. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING
  106. - build_marlin
  107. #
  108. # ...with AUTO_BED_LEVELING_FEATURE, Z_MIN_PROBE_REPEATABILITY_TEST, & DEBUG_LEVELING_FEATURE
  109. #
  110. - opt_enable AUTO_BED_LEVELING_FEATURE Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  111. - build_marlin
  112. #
  113. # Test a Sled Z Probe
  114. #
  115. - restore_configs
  116. - opt_enable Z_PROBE_SLED
  117. - build_marlin
  118. #
  119. # ...with AUTO_BED_LEVELING_FEATURE & DEBUG_LEVELING_FEATURE
  120. #
  121. - opt_enable AUTO_BED_LEVELING_FEATURE DEBUG_LEVELING_FEATURE
  122. - build_marlin
  123. #
  124. # Test a Servo Probe
  125. #
  126. - restore_configs
  127. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  128. - build_marlin
  129. #
  130. # ...with AUTO_BED_LEVELING_FEATURE & DEBUG_LEVELING_FEATURE
  131. #
  132. - opt_enable AUTO_BED_LEVELING_FEATURE DEBUG_LEVELING_FEATURE
  133. - build_marlin
  134. #
  135. # Test MESH_BED_LEVELING feature, with LCD
  136. #
  137. - restore_configs
  138. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  139. - build_marlin
  140. #
  141. # Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  142. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  143. #
  144. - restore_configs
  145. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  146. - build_marlin
  147. #
  148. # Mixing Extruder
  149. #
  150. - restore_configs
  151. - opt_enable MIXING_EXTRUDER
  152. - opt_set MIXING_STEPPERS 2
  153. - build_marlin
  154. #
  155. # Test DUAL_X_CARRIAGE
  156. #
  157. - restore_configs
  158. - opt_set MOTHERBOARD BOARD_RUMBA
  159. - opt_set EXTRUDERS 2
  160. - opt_set TEMP_SENSOR_1 1
  161. - opt_enable USE_XMAX_PLUG
  162. - opt_enable_adv DUAL_X_CARRIAGE
  163. - build_marlin
  164. #
  165. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  166. #
  167. - restore_configs
  168. - opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  169. - opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  170. - opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  171. - opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  172. #
  173. # Test SWITCHING_EXTRUDER
  174. #
  175. - restore_configs
  176. - opt_set MOTHERBOARD BOARD_RUMBA
  177. - opt_set EXTRUDERS 2
  178. - opt_enable NUM_SERVOS
  179. - opt_set NUM_SERVOS 1
  180. - opt_set TEMP_SENSOR_1 1
  181. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  182. - build_marlin
  183. #
  184. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  185. #
  186. - restore_configs
  187. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  188. - build_marlin
  189. #
  190. # Test FILAMENT_CHANGE_FEATURE and LCD_INFO_MENU
  191. #
  192. - restore_configs
  193. - opt_enable ULTIMAKERCONTROLLER
  194. - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU
  195. - build_marlin
  196. #
  197. # Enable filament sensor
  198. #
  199. - restore_configs
  200. - opt_enable FILAMENT_WIDTH_SENSOR
  201. - build_marlin
  202. #
  203. # Enable filament sensor with LCD display
  204. #
  205. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
  206. - build_marlin
  207. #
  208. # Enable BEZIER_CURVE_SUPPORT
  209. #
  210. - restore_configs
  211. - opt_enable_adv BEZIER_CURVE_SUPPORT
  212. - build_marlin
  213. #
  214. # Enable COREXY
  215. #
  216. - restore_configs
  217. - opt_enable COREXY
  218. - build_marlin
  219. #
  220. # Enable COREXZ
  221. #
  222. - restore_configs
  223. - opt_enable COREXZ
  224. - build_marlin
  225. #
  226. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  227. #
  228. - restore_configs
  229. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  230. - pins_set RAMPS X_MAX_PIN -1
  231. - opt_set_adv Z2_MAX_PIN 2
  232. - build_marlin
  233. #
  234. # Test PRINTCOUNTER
  235. #
  236. - restore_configs
  237. - opt_enable PRINTCOUNTER
  238. - build_marlin
  239. #
  240. # Test NOZZLE_PARK_FEATURE
  241. #
  242. - restore_configs
  243. - opt_enable NOZZLE_PARK_FEATURE
  244. - build_marlin
  245. #
  246. # Test NOZZLE_CLEAN_FEATURE
  247. #
  248. - restore_configs
  249. - opt_enable NOZZLE_CLEAN_FEATURE
  250. - build_marlin
  251. #
  252. #
  253. ######## STANDARD LCD/PANELS ##############
  254. #
  255. # ULTRA_LCD
  256. #
  257. - restore_configs
  258. - opt_enable ULTRA_LCD
  259. - build_marlin
  260. #
  261. # DOGLCD
  262. #
  263. - restore_configs
  264. - opt_enable DOGLCD
  265. - build_marlin
  266. #
  267. # ULTIMAKERCONTROLLER
  268. #
  269. - restore_configs
  270. - opt_enable ULTIMAKERCONTROLLER
  271. - build_marlin
  272. #
  273. # MAKRPANEL
  274. # Needs to use Melzi and Sanguino hardware
  275. #
  276. #- restore_configs
  277. #- opt_enable MAKRPANEL
  278. #- build_marlin
  279. #
  280. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  281. #
  282. - restore_configs
  283. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  284. - build_marlin
  285. #
  286. # G3D_PANEL
  287. #
  288. - restore_configs
  289. - opt_enable G3D_PANEL SDSUPPORT
  290. - build_marlin
  291. #
  292. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  293. #
  294. - restore_configs
  295. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  296. - build_marlin
  297. #
  298. # REPRAPWORLD_KEYPAD
  299. #
  300. # Cant find configuration details to get it to compile
  301. #- restore_configs
  302. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  303. #- build_marlin
  304. #
  305. # RA_CONTROL_PANEL
  306. #
  307. - restore_configs
  308. - opt_enable RA_CONTROL_PANEL
  309. - build_marlin
  310. #
  311. ######## I2C LCD/PANELS ##############
  312. #
  313. # !!!ATTENTION!!!
  314. # Most I2C configurations are failing at the moment because they require
  315. # a different Liquid Crystal library "LiquidTWI2".
  316. #
  317. # LCD_I2C_SAINSMART_YWROBOT
  318. #
  319. #- restore_configs
  320. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  321. #- build_marlin
  322. #
  323. # LCD_I2C_PANELOLU2
  324. #
  325. #- restore_configs
  326. #- opt_enable LCD_I2C_PANELOLU2
  327. #- build_marlin
  328. #
  329. # LCD_I2C_VIKI
  330. #
  331. #- restore_configs
  332. #- opt_enable LCD_I2C_VIKI
  333. #- build_marlin
  334. #
  335. # LCM1602
  336. #
  337. - restore_configs
  338. - opt_enable LCM1602
  339. - build_marlin
  340. #
  341. #
  342. ######## Example Configurations ##############
  343. #
  344. # BQ Hephestos 2
  345. - restore_configs
  346. - use_example_configs Hephestos_2
  347. - build_marlin
  348. #
  349. # Delta Config (generic)
  350. - restore_configs
  351. - use_example_configs delta/generic
  352. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU
  353. - build_marlin
  354. #
  355. # Delta Config (generic) + ABL + ALLEN_KEY
  356. #
  357. - use_example_configs delta/generic
  358. - opt_disable DISABLE_MIN_ENDSTOPS
  359. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  360. - build_marlin
  361. #
  362. # Delta Config (Mini Kossel)
  363. #
  364. - use_example_configs delta/kossel_mini
  365. - build_marlin
  366. #
  367. # Makibox Config need to check board type for Teensy++ 2.0
  368. #
  369. #- use_example_configs makibox
  370. #- build_marlin
  371. #
  372. # SCARA Config
  373. #
  374. - use_example_configs SCARA
  375. - opt_enable AUTO_BED_LEVELING_FEATURE FIX_MOUNTED_PROBE USE_ZMIN_PLUG
  376. - build_marlin
  377. #
  378. # tvrrug Config need to check board type for sanguino atmega644p
  379. #
  380. #- use_example_configs tvrrug/Round2
  381. #- build_marlin
  382. #
  383. #
  384. ######## Board Types #############
  385. #
  386. # To be added in nightly test branch
  387. #