My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

.travis.yml 9.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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, EXPERIMENTAL_I2CBUS, and I2C_SLAVE_ADDRESS
  209. #
  210. - restore_configs
  211. - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
  212. - opt_set_adv I2C_SLAVE_ADDRESS 63
  213. - build_marlin
  214. #
  215. # Enable COREXY
  216. #
  217. - restore_configs
  218. - opt_enable COREXY
  219. - build_marlin
  220. #
  221. # Enable COREXZ
  222. #
  223. - restore_configs
  224. - opt_enable COREXZ
  225. - build_marlin
  226. #
  227. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  228. #
  229. - restore_configs
  230. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  231. - pins_set RAMPS X_MAX_PIN -1
  232. - opt_set_adv Z2_MAX_PIN 2
  233. - build_marlin
  234. #
  235. # Test PRINTCOUNTER
  236. #
  237. - restore_configs
  238. - opt_enable PRINTCOUNTER
  239. - build_marlin
  240. #
  241. # Test NOZZLE_PARK_FEATURE
  242. #
  243. - restore_configs
  244. - opt_enable NOZZLE_PARK_FEATURE
  245. - build_marlin
  246. #
  247. # Test NOZZLE_CLEAN_FEATURE
  248. #
  249. - restore_configs
  250. - opt_enable NOZZLE_CLEAN_FEATURE
  251. - build_marlin
  252. #
  253. #
  254. ######## STANDARD LCD/PANELS ##############
  255. #
  256. # ULTRA_LCD
  257. #
  258. - restore_configs
  259. - opt_enable ULTRA_LCD
  260. - build_marlin
  261. #
  262. # DOGLCD
  263. #
  264. - restore_configs
  265. - opt_enable DOGLCD
  266. - build_marlin
  267. #
  268. # ULTIMAKERCONTROLLER
  269. #
  270. - restore_configs
  271. - opt_enable ULTIMAKERCONTROLLER
  272. - build_marlin
  273. #
  274. # MAKRPANEL
  275. # Needs to use Melzi and Sanguino hardware
  276. #
  277. #- restore_configs
  278. #- opt_enable MAKRPANEL
  279. #- build_marlin
  280. #
  281. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  282. #
  283. - restore_configs
  284. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  285. - build_marlin
  286. #
  287. # G3D_PANEL
  288. #
  289. - restore_configs
  290. - opt_enable G3D_PANEL SDSUPPORT
  291. - build_marlin
  292. #
  293. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  294. #
  295. - restore_configs
  296. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  297. - build_marlin
  298. #
  299. # REPRAPWORLD_KEYPAD
  300. #
  301. # Cant find configuration details to get it to compile
  302. #- restore_configs
  303. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  304. #- build_marlin
  305. #
  306. # RA_CONTROL_PANEL
  307. #
  308. - restore_configs
  309. - opt_enable RA_CONTROL_PANEL
  310. - build_marlin
  311. #
  312. ######## I2C LCD/PANELS ##############
  313. #
  314. # !!!ATTENTION!!!
  315. # Most I2C configurations are failing at the moment because they require
  316. # a different Liquid Crystal library "LiquidTWI2".
  317. #
  318. # LCD_I2C_SAINSMART_YWROBOT
  319. #
  320. #- restore_configs
  321. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  322. #- build_marlin
  323. #
  324. # LCD_I2C_PANELOLU2
  325. #
  326. #- restore_configs
  327. #- opt_enable LCD_I2C_PANELOLU2
  328. #- build_marlin
  329. #
  330. # LCD_I2C_VIKI
  331. #
  332. #- restore_configs
  333. #- opt_enable LCD_I2C_VIKI
  334. #- build_marlin
  335. #
  336. # LCM1602
  337. #
  338. - restore_configs
  339. - opt_enable LCM1602
  340. - build_marlin
  341. #
  342. #
  343. ######## Example Configurations ##############
  344. #
  345. # BQ Hephestos 2
  346. - restore_configs
  347. - use_example_configs Hephestos_2
  348. - build_marlin
  349. #
  350. # Delta Config (generic)
  351. - restore_configs
  352. - use_example_configs delta/generic
  353. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU
  354. - build_marlin
  355. #
  356. # Delta Config (generic) + ABL + ALLEN_KEY
  357. #
  358. - use_example_configs delta/generic
  359. - opt_disable DISABLE_MIN_ENDSTOPS
  360. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  361. - build_marlin
  362. #
  363. # Delta Config (Mini Kossel)
  364. #
  365. - use_example_configs delta/kossel_mini
  366. - build_marlin
  367. #
  368. # Makibox Config need to check board type for Teensy++ 2.0
  369. #
  370. #- use_example_configs makibox
  371. #- build_marlin
  372. #
  373. # SCARA Config
  374. #
  375. - use_example_configs SCARA
  376. - opt_enable AUTO_BED_LEVELING_FEATURE FIX_MOUNTED_PROBE USE_ZMIN_PLUG
  377. - build_marlin
  378. #
  379. # tvrrug Config need to check board type for sanguino atmega644p
  380. #
  381. #- use_example_configs tvrrug/Round2
  382. #- build_marlin
  383. #
  384. #
  385. ######## Board Types #############
  386. #
  387. # To be added in nightly test branch
  388. #