My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

.travis.yml 9.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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_14.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_14.h Marlin/pins_RAMPS_14.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 a "Fix Mounted" Probe along with Safe Homing
  97. #
  98. - restore_configs
  99. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING
  100. - build_marlin
  101. #
  102. # ...with AUTO_BED_LEVELING_FEATURE, Z_MIN_PROBE_REPEATABILITY_TEST, & DEBUG_LEVELING_FEATURE
  103. #
  104. - opt_enable AUTO_BED_LEVELING_FEATURE Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  105. - build_marlin
  106. #
  107. # Test a Sled Z Probe
  108. #
  109. - restore_configs
  110. - opt_enable Z_PROBE_SLED
  111. - build_marlin
  112. #
  113. # ...with AUTO_BED_LEVELING_FEATURE & DEBUG_LEVELING_FEATURE
  114. #
  115. - opt_enable AUTO_BED_LEVELING_FEATURE DEBUG_LEVELING_FEATURE
  116. - build_marlin
  117. #
  118. # Test a Servo Probe
  119. #
  120. - restore_configs
  121. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  122. - build_marlin
  123. #
  124. # ...with AUTO_BED_LEVELING_FEATURE & DEBUG_LEVELING_FEATURE
  125. #
  126. - opt_enable AUTO_BED_LEVELING_FEATURE DEBUG_LEVELING_FEATURE
  127. - build_marlin
  128. #
  129. # Test MESH_BED_LEVELING feature, with LCD
  130. #
  131. - restore_configs
  132. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  133. - build_marlin
  134. #
  135. # Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  136. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  137. #
  138. - restore_configs
  139. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  140. - build_marlin
  141. #
  142. # Mixing Extruder
  143. #
  144. - restore_configs
  145. - opt_enable MIXING_EXTRUDER
  146. - opt_set MIXING_STEPPERS 2
  147. - build_marlin
  148. #
  149. # Test DUAL_X_CARRIAGE
  150. #
  151. - restore_configs
  152. - opt_set MOTHERBOARD BOARD_RUMBA
  153. - opt_set EXTRUDERS 2
  154. - opt_set TEMP_SENSOR_1 1
  155. - opt_enable USE_XMAX_PLUG
  156. - opt_enable_adv DUAL_X_CARRIAGE
  157. - build_marlin
  158. #
  159. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  160. #
  161. - restore_configs
  162. - opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  163. - opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  164. - opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  165. - opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  166. #
  167. # Test SWITCHING_EXTRUDER
  168. #
  169. - restore_configs
  170. - opt_set MOTHERBOARD BOARD_RUMBA
  171. - opt_set EXTRUDERS 2
  172. - opt_enable NUM_SERVOS
  173. - opt_set NUM_SERVOS 1
  174. - opt_set TEMP_SENSOR_1 1
  175. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  176. - build_marlin
  177. #
  178. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  179. #
  180. - restore_configs
  181. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  182. - build_marlin
  183. #
  184. # Test FILAMENT_CHANGE_FEATURE and LCD_INFO_MENU
  185. #
  186. - restore_configs
  187. - opt_enable ULTIMAKERCONTROLLER
  188. - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU
  189. - build_marlin
  190. #
  191. # Enable filament sensor
  192. #
  193. - restore_configs
  194. - opt_enable FILAMENT_WIDTH_SENSOR
  195. - build_marlin
  196. #
  197. # Enable filament sensor with LCD display
  198. #
  199. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
  200. - build_marlin
  201. #
  202. # Enable BEZIER_CURVE_SUPPORT
  203. #
  204. - restore_configs
  205. - opt_enable_adv BEZIER_CURVE_SUPPORT
  206. - build_marlin
  207. #
  208. # Enable COREXY
  209. #
  210. - restore_configs
  211. - opt_enable COREXY
  212. - build_marlin
  213. #
  214. # Enable COREXZ
  215. #
  216. - restore_configs
  217. - opt_enable COREXZ
  218. - build_marlin
  219. #
  220. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  221. #
  222. - restore_configs
  223. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  224. - pins_set RAMPS_14 X_MAX_PIN -1
  225. - opt_set_adv Z2_MAX_PIN 2
  226. - build_marlin
  227. #
  228. # Test PRINTCOUNTER
  229. #
  230. - restore_configs
  231. - opt_enable PRINTCOUNTER
  232. - build_marlin
  233. #
  234. # Test NOZZLE_PARK_FEATURE
  235. #
  236. - restore_configs
  237. - opt_enable NOZZLE_PARK_FEATURE
  238. - build_marlin
  239. #
  240. # Test NOZZLE_CLEAN_FEATURE
  241. #
  242. - restore_configs
  243. - opt_enable NOZZLE_CLEAN_FEATURE
  244. - build_marlin
  245. #
  246. #
  247. ######## STANDARD LCD/PANELS ##############
  248. #
  249. # ULTRA_LCD
  250. #
  251. - restore_configs
  252. - opt_enable ULTRA_LCD
  253. - build_marlin
  254. #
  255. # DOGLCD
  256. #
  257. - restore_configs
  258. - opt_enable DOGLCD
  259. - build_marlin
  260. #
  261. # ULTIMAKERCONTROLLER
  262. #
  263. - restore_configs
  264. - opt_enable ULTIMAKERCONTROLLER
  265. - build_marlin
  266. #
  267. # MAKRPANEL
  268. # Needs to use Melzi and Sanguino hardware
  269. #
  270. #- restore_configs
  271. #- opt_enable MAKRPANEL
  272. #- build_marlin
  273. #
  274. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  275. #
  276. - restore_configs
  277. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  278. - build_marlin
  279. #
  280. # G3D_PANEL
  281. #
  282. - restore_configs
  283. - opt_enable G3D_PANEL SDSUPPORT
  284. - build_marlin
  285. #
  286. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  287. #
  288. - restore_configs
  289. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  290. - build_marlin
  291. #
  292. # REPRAPWORLD_KEYPAD
  293. #
  294. # Cant find configuration details to get it to compile
  295. #- restore_configs
  296. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  297. #- build_marlin
  298. #
  299. # RA_CONTROL_PANEL
  300. #
  301. - restore_configs
  302. - opt_enable RA_CONTROL_PANEL
  303. - build_marlin
  304. #
  305. ######## I2C LCD/PANELS ##############
  306. #
  307. # !!!ATTENTION!!!
  308. # Most I2C configurations are failing at the moment because they require
  309. # a different Liquid Crystal library "LiquidTWI2".
  310. #
  311. # LCD_I2C_SAINSMART_YWROBOT
  312. #
  313. #- restore_configs
  314. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  315. #- build_marlin
  316. #
  317. # LCD_I2C_PANELOLU2
  318. #
  319. #- restore_configs
  320. #- opt_enable LCD_I2C_PANELOLU2
  321. #- build_marlin
  322. #
  323. # LCD_I2C_VIKI
  324. #
  325. #- restore_configs
  326. #- opt_enable LCD_I2C_VIKI
  327. #- build_marlin
  328. #
  329. # LCM1602
  330. #
  331. - restore_configs
  332. - opt_enable LCM1602
  333. - build_marlin
  334. #
  335. #
  336. ######## Example Configurations ##############
  337. #
  338. # BQ Hephestos 2
  339. - restore_configs
  340. - use_example_configs Hephestos_2
  341. - build_marlin
  342. #
  343. # Delta Config (generic)
  344. - restore_configs
  345. - use_example_configs delta/generic
  346. - build_marlin
  347. #
  348. # Delta Config (generic) + ABL + ALLEN_KEY
  349. #
  350. - use_example_configs delta/generic
  351. - opt_disable DISABLE_MIN_ENDSTOPS
  352. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  353. - build_marlin
  354. #
  355. # Delta Config (Mini Kossel)
  356. #
  357. - use_example_configs delta/kossel_mini
  358. - build_marlin
  359. #
  360. # Makibox Config need to check board type for Teensy++ 2.0
  361. #
  362. #- use_example_configs makibox
  363. #- build_marlin
  364. #
  365. # SCARA Config
  366. #
  367. - use_example_configs SCARA
  368. - opt_enable AUTO_BED_LEVELING_FEATURE FIX_MOUNTED_PROBE USE_ZMIN_PLUG
  369. - build_marlin
  370. #
  371. # tvrrug Config need to check board type for sanguino atmega644p
  372. #
  373. #- use_example_configs tvrrug/Round2
  374. #- build_marlin
  375. #
  376. #
  377. ######## Board Types #############
  378. #
  379. # To be added in nightly test branch
  380. #