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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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. ### LCDS ###
  108. #
  109. #
  110. # ULTIMAKERCONTROLLER
  111. #
  112. - restore_configs
  113. - opt_enable ULTIMAKERCONTROLLER
  114. - build_marlin
  115. #
  116. # MAKRPANEL
  117. # Needs to use Melzi and Sanguino hardware
  118. #
  119. #- restore_configs
  120. #- opt_enable MAKRPANEL
  121. #- build_marlin
  122. #
  123. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  124. #
  125. - restore_configs
  126. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  127. - build_marlin
  128. #
  129. # G3D_PANEL
  130. #
  131. - restore_configs
  132. - opt_enable G3D_PANEL SDSUPPORT
  133. - build_marlin
  134. #
  135. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  136. #
  137. - restore_configs
  138. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  139. - build_marlin
  140. #
  141. # REPRAPWORLD_KEYPAD
  142. #
  143. # Cant find configuration details to get it to compile
  144. #- restore_configs
  145. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  146. #- build_marlin
  147. #
  148. # RA_CONTROL_PANEL
  149. #
  150. - restore_configs
  151. - opt_enable RA_CONTROL_PANEL
  152. - build_marlin
  153. #
  154. ### I2C PANELS ###
  155. #
  156. # LCD_I2C_SAINSMART_YWROBOT
  157. # Failing at the moment needs different library
  158. #- restore_configs
  159. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  160. #- build_marlin
  161. #
  162. # LCD_I2C_PANELOLU2
  163. #
  164. - restore_configs
  165. - opt_enable LCD_I2C_PANELOLU2
  166. - build_marlin
  167. #
  168. # LCD_I2C_VIKI
  169. #
  170. - restore_configs
  171. - opt_enable LCD_I2C_VIKI
  172. - build_marlin
  173. #
  174. # LCM1602
  175. #
  176. - restore_configs
  177. - opt_enable LCM1602
  178. - build_marlin
  179. #
  180. # Enable FILAMENTCHANGEENABLE
  181. #
  182. - restore_configs
  183. - opt_enable FILAMENTCHANGEENABLE ULTIMAKERCONTROLLER
  184. - build_marlin
  185. #
  186. # Enable filament sensor
  187. #
  188. - restore_configs
  189. - opt_enable FILAMENT_WIDTH_SENSOR
  190. - build_marlin
  191. #
  192. # Enable filament sensor with LCD display
  193. #
  194. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
  195. - build_marlin
  196. #
  197. # Enable COREXY
  198. #
  199. - restore_configs
  200. - opt_enable COREXY
  201. - build_marlin
  202. #
  203. # Enable COREXZ
  204. #
  205. - restore_configs
  206. - opt_enable COREXZ
  207. - build_marlin
  208. #
  209. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  210. #
  211. - restore_configs
  212. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  213. - pins_set RAMPS_14 X_MAX_PIN -1
  214. - opt_set_adv Z2_MAX_PIN 2
  215. - build_marlin
  216. #
  217. # Test PRINTCOUNTER
  218. #
  219. - restore_configs
  220. - opt_enable PRINTCOUNTER
  221. - build_marlin
  222. #
  223. #
  224. ######## Example Configurations ##############
  225. #
  226. # BQ Hephestos 2
  227. - restore_configs
  228. - use_example_configs Hephestos_2
  229. - build_marlin
  230. #
  231. # Delta Config (generic)
  232. - restore_configs
  233. - use_example_configs delta/generic
  234. - build_marlin
  235. #
  236. # Delta Config (generic) + ABL + ALLEN_KEY
  237. #
  238. - use_example_configs delta/generic
  239. - opt_disable DISABLE_MIN_ENDSTOPS
  240. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  241. - build_marlin
  242. #
  243. # Delta Config (Mini Kossel)
  244. #
  245. - use_example_configs delta/kossel_mini
  246. - build_marlin
  247. #
  248. # Makibox Config need to check board type for Teensy++ 2.0
  249. #
  250. #- use_example_configs makibox
  251. #- build_marlin
  252. #
  253. # SCARA Config
  254. #
  255. - use_example_configs SCARA
  256. - build_marlin
  257. #
  258. # tvrrug Config need to check board type for sanguino atmega644p
  259. #
  260. #- use_example_configs tvrrug/Round2
  261. #- build_marlin
  262. #
  263. #
  264. ######## Board Types #############
  265. #
  266. # To be added in nightly test branch
  267. #