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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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.8
  21. - wget http://downloads-02.arduino.cc/arduino-1.6.8-linux64.tar.xz
  22. - tar xf arduino-1.6.8-linux64.tar.xz
  23. - sudo mv arduino-1.6.8 /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. #
  80. - opt_set MOTHERBOARD BOARD_RUMBA
  81. - opt_set EXTRUDERS 3
  82. - opt_set TEMP_SENSOR_2 1
  83. - build_marlin
  84. #
  85. # Test PIDTEMPBED
  86. #
  87. - restore_configs
  88. - opt_enable PIDTEMPBED
  89. - build_marlin
  90. #
  91. # Test AUTO_BED_LEVELING & DEBUG_LEVELING_FEATURE
  92. #
  93. - restore_configs
  94. - opt_enable ENABLE_AUTO_BED_LEVELING DEBUG_LEVELING_FEATURE
  95. - build_marlin
  96. #
  97. # Test MESH_BED_LEVELING feature, with LCD
  98. #
  99. - restore_configs
  100. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  101. - build_marlin
  102. #
  103. # Test AUTO_BED_LEVELING & DEBUG_LEVELING_FEATURE with Servos
  104. #
  105. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR SERVO_ENDSTOP_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  106. - build_marlin
  107. #
  108. # Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER, INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  109. #
  110. - restore_configs
  111. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  112. - build_marlin
  113. #
  114. # Test DUAL_X_CARRIAGE
  115. #
  116. - restore_configs
  117. - opt_set MOTHERBOARD BOARD_RUMBA
  118. - opt_set EXTRUDERS 2
  119. - opt_set TEMP_SENSOR_1 1
  120. - opt_enable USE_XMAX_PLUG
  121. - opt_enable_adv DUAL_X_CARRIAGE
  122. - build_marlin
  123. #
  124. ### LCDS ###
  125. #
  126. # ULTRA_LCD
  127. #
  128. - restore_configs
  129. - opt_enable ULTRA_LCD
  130. - build_marlin
  131. #
  132. # DOGLCD
  133. #
  134. - restore_configs
  135. - opt_enable DOGLCD
  136. - build_marlin
  137. #
  138. # ULTIMAKERCONTROLLER
  139. #
  140. - restore_configs
  141. - opt_enable ULTIMAKERCONTROLLER
  142. - build_marlin
  143. #
  144. # MAKRPANEL
  145. # Needs to use Melzi and Sanguino hardware
  146. #
  147. #- restore_configs
  148. #- opt_enable MAKRPANEL
  149. #- build_marlin
  150. #
  151. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  152. #
  153. - restore_configs
  154. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  155. - build_marlin
  156. #
  157. # G3D_PANEL
  158. #
  159. - restore_configs
  160. - opt_enable G3D_PANEL SDSUPPORT
  161. - build_marlin
  162. #
  163. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  164. #
  165. - restore_configs
  166. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  167. - build_marlin
  168. #
  169. # REPRAPWORLD_KEYPAD
  170. #
  171. # Cant find configuration details to get it to compile
  172. #- restore_configs
  173. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  174. #- build_marlin
  175. #
  176. # RA_CONTROL_PANEL
  177. #
  178. - restore_configs
  179. - opt_enable RA_CONTROL_PANEL
  180. - build_marlin
  181. #
  182. ### I2C PANELS ###
  183. #
  184. # LCD_I2C_SAINSMART_YWROBOT
  185. # Failing at the moment needs different library
  186. #- restore_configs
  187. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  188. #- build_marlin
  189. #
  190. # LCD_I2C_PANELOLU2
  191. #
  192. - restore_configs
  193. - opt_enable LCD_I2C_PANELOLU2
  194. - build_marlin
  195. #
  196. # LCD_I2C_VIKI
  197. #
  198. - restore_configs
  199. - opt_enable LCD_I2C_VIKI
  200. - build_marlin
  201. #
  202. # LCM1602
  203. #
  204. - restore_configs
  205. - opt_enable LCM1602
  206. - build_marlin
  207. #
  208. # Enable FILAMENTCHANGEENABLE
  209. #
  210. - restore_configs
  211. - opt_enable FILAMENTCHANGEENABLE ULTIMAKERCONTROLLER
  212. - build_marlin
  213. #
  214. # Enable filament sensor
  215. #
  216. - restore_configs
  217. - opt_enable FILAMENT_WIDTH_SENSOR
  218. - build_marlin
  219. #
  220. # Enable filament sensor with LCD display
  221. #
  222. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
  223. - build_marlin
  224. #
  225. # Enable BEZIER_CURVE_SUPPORT
  226. #
  227. - restore_configs
  228. - opt_enable_adv BEZIER_CURVE_SUPPORT
  229. - build_marlin
  230. #
  231. # Enable COREXY
  232. #
  233. - restore_configs
  234. - opt_enable COREXY
  235. - build_marlin
  236. #
  237. # Enable COREXZ
  238. #
  239. - restore_configs
  240. - opt_enable COREXZ
  241. - build_marlin
  242. #
  243. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  244. #
  245. - restore_configs
  246. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  247. - pins_set RAMPS_14 X_MAX_PIN -1
  248. - opt_set_adv Z2_MAX_PIN 2
  249. - build_marlin
  250. #
  251. # Test PRINTCOUNTER
  252. #
  253. - restore_configs
  254. - opt_enable PRINTCOUNTER
  255. - build_marlin
  256. #
  257. #
  258. ######## Example Configurations ##############
  259. #
  260. # BQ Hephestos 2
  261. - restore_configs
  262. - use_example_configs Hephestos_2
  263. - build_marlin
  264. #
  265. # Delta Config (generic)
  266. - restore_configs
  267. - use_example_configs delta/generic
  268. - build_marlin
  269. #
  270. # Delta Config (generic) + ABL + ALLEN_KEY
  271. #
  272. - use_example_configs delta/generic
  273. - opt_disable DISABLE_MIN_ENDSTOPS
  274. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  275. - build_marlin
  276. #
  277. # Delta Config (Mini Kossel)
  278. #
  279. - use_example_configs delta/kossel_mini
  280. - build_marlin
  281. #
  282. # Makibox Config need to check board type for Teensy++ 2.0
  283. #
  284. #- use_example_configs makibox
  285. #- build_marlin
  286. #
  287. # SCARA Config
  288. #
  289. - use_example_configs SCARA
  290. - build_marlin
  291. #
  292. # tvrrug Config need to check board type for sanguino atmega644p
  293. #
  294. #- use_example_configs tvrrug/Round2
  295. #- build_marlin
  296. #
  297. #
  298. ######## Board Types #############
  299. #
  300. # To be added in nightly test branch
  301. #