My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

.travis.yml 8.5KB

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