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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. ---
  2. language: c
  3. #
  4. before_install:
  5. #
  6. # Travis runs a detached head. We need to find the current branch
  7. - git checkout `git branch --contains HEAD | grep -v '*'`
  8. #
  9. # Also tags for the root(s) of the minor version(s)
  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.8
  24. - wget http://downloads-02.arduino.cc/arduino-1.6.8-linux64.tar.xz
  25. - tar xf arduino-1.6.8-linux64.tar.xz
  26. - sudo mv arduino-1.6.8 /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. script:
  54. #
  55. # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS_14.h
  56. #
  57. - cp Marlin/Configuration.h Marlin/Configuration.h.backup
  58. - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
  59. - cp Marlin/pins_RAMPS_14.h Marlin/pins_RAMPS_14.h.backup
  60. #
  61. # Build with the default configurations
  62. #
  63. - build_marlin
  64. #
  65. # Test heated bed temperature sensor
  66. #
  67. - opt_set TEMP_SENSOR_BED 1
  68. - build_marlin
  69. #
  70. # Test 2 extruders on basic RAMPS 1.4
  71. #
  72. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  73. - opt_set EXTRUDERS 2
  74. - opt_set TEMP_SENSOR_1 1
  75. - build_marlin
  76. #
  77. # Test 3 extruders on RUMBA (can use any board with >=3 extruders defined)
  78. #
  79. - opt_set MOTHERBOARD BOARD_RUMBA
  80. - opt_set EXTRUDERS 3
  81. - opt_set TEMP_SENSOR_2 1
  82. - build_marlin
  83. #
  84. # Test PIDTEMPBED
  85. #
  86. - restore_configs
  87. - opt_enable PIDTEMPBED
  88. - build_marlin
  89. #
  90. # Test AUTO_BED_LEVELING & DEBUG_LEVELING_FEATURE
  91. #
  92. - restore_configs
  93. - opt_enable ENABLE_AUTO_BED_LEVELING DEBUG_LEVELING_FEATURE
  94. - build_marlin
  95. #
  96. # Test AUTO_BED_LEVELING & DEBUG_LEVELING_FEATURE with Servos
  97. #
  98. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR SERVO_ENDSTOP_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  99. - build_marlin
  100. #
  101. # Test EEPROM_SETTINGS & EEPROM_CHITCHAT
  102. #
  103. - restore_configs
  104. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT
  105. - build_marlin
  106. #
  107. # Test DUAL_X_CARRIAGE
  108. #
  109. - restore_configs
  110. - opt_set MOTHERBOARD BOARD_RUMBA
  111. - opt_set EXTRUDERS 2
  112. - opt_set TEMP_SENSOR_1 1
  113. - opt_enable USE_XMAX_PLUG
  114. - opt_enable_adv DUAL_X_CARRIAGE
  115. - build_marlin
  116. #
  117. ### LCDS ###
  118. #
  119. #
  120. # ULTIMAKERCONTROLLER
  121. #
  122. - restore_configs
  123. - opt_enable ULTIMAKERCONTROLLER
  124. - build_marlin
  125. #
  126. # MAKRPANEL
  127. # Needs to use Melzi and Sanguino hardware
  128. #
  129. #- restore_configs
  130. #- opt_enable MAKRPANEL
  131. #- build_marlin
  132. #
  133. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  134. #
  135. - restore_configs
  136. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  137. - build_marlin
  138. #
  139. # G3D_PANEL
  140. #
  141. - restore_configs
  142. - opt_enable G3D_PANEL SDSUPPORT
  143. - build_marlin
  144. #
  145. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  146. #
  147. - restore_configs
  148. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  149. - build_marlin
  150. #
  151. # REPRAPWORLD_KEYPAD
  152. #
  153. # Cant find configuration details to get it to compile
  154. #- restore_configs
  155. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  156. #- build_marlin
  157. #
  158. # RA_CONTROL_PANEL
  159. #
  160. - restore_configs
  161. - opt_enable RA_CONTROL_PANEL
  162. - build_marlin
  163. #
  164. ### I2C PANELS ###
  165. #
  166. # LCD_I2C_SAINSMART_YWROBOT
  167. # Failing at the moment needs different library
  168. #- restore_configs
  169. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  170. #- build_marlin
  171. #
  172. # LCD_I2C_PANELOLU2
  173. #
  174. - restore_configs
  175. - opt_enable LCD_I2C_PANELOLU2
  176. - build_marlin
  177. #
  178. # LCD_I2C_VIKI
  179. #
  180. - restore_configs
  181. - opt_enable LCD_I2C_VIKI
  182. - build_marlin
  183. #
  184. # LCM1602
  185. #
  186. - restore_configs
  187. - opt_enable LCM1602
  188. - build_marlin
  189. #
  190. # Enable FILAMENTCHANGEENABLE
  191. #
  192. - restore_configs
  193. - opt_enable FILAMENTCHANGEENABLE ULTIMAKERCONTROLLER
  194. - build_marlin
  195. #
  196. # Enable filament sensor
  197. #
  198. - restore_configs
  199. - opt_enable FILAMENT_WIDTH_SENSOR
  200. - build_marlin
  201. #
  202. # Enable filament sensor with LCD display
  203. #
  204. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
  205. - build_marlin
  206. #
  207. # Enable BEZIER_CURVE_SUPPORT
  208. #
  209. - restore_configs
  210. - opt_enable_adv BEZIER_CURVE_SUPPORT
  211. - build_marlin
  212. #
  213. # Enable COREXY
  214. #
  215. - restore_configs
  216. - opt_enable COREXY
  217. - build_marlin
  218. #
  219. # Enable COREXZ
  220. #
  221. - restore_configs
  222. - opt_enable COREXZ
  223. - build_marlin
  224. #
  225. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  226. #
  227. - restore_configs
  228. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  229. - pins_set RAMPS_14 X_MAX_PIN -1
  230. - opt_set_adv Z2_MAX_PIN 2
  231. - build_marlin
  232. #
  233. # Test PRINTCOUNTER
  234. #
  235. - restore_configs
  236. - opt_enable PRINTCOUNTER
  237. - build_marlin
  238. #
  239. #
  240. ######## Example Configurations ##############
  241. #
  242. # BQ Hephestos 2
  243. - restore_configs
  244. - use_example_configs Hephestos_2
  245. - build_marlin
  246. #
  247. # Delta Config (generic)
  248. - restore_configs
  249. - use_example_configs delta/generic
  250. - build_marlin
  251. #
  252. # Delta Config (generic) + ABL + ALLEN_KEY
  253. #
  254. - use_example_configs delta/generic
  255. - opt_disable DISABLE_MIN_ENDSTOPS
  256. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  257. - build_marlin
  258. #
  259. # Delta Config (Mini Kossel)
  260. #
  261. - use_example_configs delta/kossel_mini
  262. - build_marlin
  263. #
  264. # Makibox Config need to check board type for Teensy++ 2.0
  265. #
  266. #- use_example_configs makibox
  267. #- build_marlin
  268. #
  269. # SCARA Config
  270. #
  271. - use_example_configs SCARA
  272. - build_marlin
  273. #
  274. # tvrrug Config need to check board type for sanguino atmega644p
  275. #
  276. #- use_example_configs tvrrug/Round2
  277. #- build_marlin
  278. #
  279. #
  280. ######## Board Types #############
  281. #
  282. # To be added in nightly test branch
  283. #