My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

.travis.yml 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. ---
  2. language: c
  3. #
  4. before_install:
  5. # Travis runs a detached head. We need to find the current branch
  6. - git checkout `git branch --contains HEAD | grep -v '*'`
  7. # Also tags for the root(s) of the minor version(s)
  8. - git fetch origin --tags
  9. - mkdir ~/bin
  10. #
  11. install:
  12. # Install arduino 1.6.4
  13. - wget http://downloads-02.arduino.cc/arduino-1.6.4-linux64.tar.xz
  14. - tar Jxf arduino-1.6.4-linux64.tar.xz
  15. - sudo mv arduino-1.6.4 /usr/local/share/arduino
  16. - ln -s /usr/local/share/arduino/arduino ~/bin/arduino
  17. # Our custom build commands
  18. - mv LinuxAddons/bin/* ~/bin/
  19. - ls -la ~/bin
  20. # install our platform
  21. - cp -r ArduinoAddons/Arduino_1.6.x/hardware/* /usr/local/share/arduino/hardware
  22. # copy libraries to arduino dir, as conditional includes do not work in .ino files
  23. - cp -r /usr/local/share/arduino/hardware/marlin/avr/libraries/* /usr/local/share/arduino/libraries/
  24. - cp -r ArduinoAddons/Arduino_1.6.x/libraries/* /usr/local/share/arduino/libraries/
  25. # add LiquidCrystal_I2C & LiquidTWI2 libraries
  26. - git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
  27. - mv LiquidCrystal_I2C/LiquidCrystal_I2C /usr/local/share/arduino/libraries/LiquidCrystal_I2C
  28. - git clone https://github.com/lincomatic/LiquidTWI2.git
  29. - mv LiquidTWI2 /usr/local/share/arduino/libraries/LiquidTWI2
  30. #
  31. before_script:
  32. # arduino requires an X server even with command line
  33. # https://github.com/arduino/Arduino/issues/1981
  34. - Xvfb :1 -screen 0 1024x768x16 &> xvfb.log &
  35. # change back to home directory for compiling
  36. - cd $TRAVIS_BUILD_DIR
  37. #
  38. script:
  39. #
  40. # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS_14.h
  41. #
  42. - cp Marlin/Configuration.h Marlin/Configuration.h.backup
  43. - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
  44. - cp Marlin/pins_RAMPS_14.h Marlin/pins_RAMPS_14.h.backup
  45. #
  46. # Build with the default configurations
  47. #
  48. - build_marlin
  49. #
  50. # Test heated bed temperature sensor
  51. #
  52. - opt_set TEMP_SENSOR_BED 1
  53. - build_marlin
  54. #
  55. # Test 2 extruders on basic RAMPS 1.4
  56. #
  57. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  58. - opt_set EXTRUDERS 2
  59. - opt_set TEMP_SENSOR_1 1
  60. - build_marlin
  61. #
  62. # Test 3 extruders on RUMBA (can use any board with >=3 extruders defined)
  63. #
  64. - opt_set MOTHERBOARD BOARD_RUMBA
  65. - opt_set EXTRUDERS 3
  66. - opt_set TEMP_SENSOR_2 1
  67. - build_marlin
  68. #
  69. # Test PIDTEMPBED
  70. #
  71. - restore_configs
  72. - opt_enable PIDTEMPBED
  73. - build_marlin
  74. #
  75. # Test AUTO_BED_LEVELING & DEBUG_LEVELING_FEATURE
  76. #
  77. - restore_configs
  78. - opt_enable ENABLE_AUTO_BED_LEVELING DEBUG_LEVELING_FEATURE
  79. - build_marlin
  80. #
  81. # Test AUTO_BED_LEVELING & DEBUG_LEVELING_FEATURE with Servos
  82. #
  83. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR SERVO_ENDSTOP_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  84. - build_marlin
  85. #
  86. # Test EEPROM_SETTINGS & EEPROM_CHITCHAT
  87. #
  88. - restore_configs
  89. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT
  90. - build_marlin
  91. #
  92. ### LCDS ###
  93. #
  94. #
  95. # ULTIMAKERCONTROLLER
  96. #
  97. - restore_configs
  98. - opt_enable ULTIMAKERCONTROLLER
  99. - build_marlin
  100. #
  101. # MAKRPANEL
  102. # Needs to use Melzi and Sanguino hardware
  103. #
  104. #- restore_configs
  105. #- opt_enable MAKRPANEL
  106. #- build_marlin
  107. #
  108. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  109. #
  110. - restore_configs
  111. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  112. - build_marlin
  113. #
  114. # G3D_PANEL
  115. #
  116. - restore_configs
  117. - opt_enable G3D_PANEL SDSUPPORT
  118. - build_marlin
  119. #
  120. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  121. #
  122. - restore_configs
  123. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  124. - build_marlin
  125. #
  126. # REPRAPWORLD_KEYPAD
  127. #
  128. # Cant find configuration details to get it to compile
  129. #- restore_configs
  130. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  131. #- build_marlin
  132. #
  133. # RA_CONTROL_PANEL
  134. #
  135. - restore_configs
  136. - opt_enable RA_CONTROL_PANEL
  137. - build_marlin
  138. #
  139. ### I2C PANELS ###
  140. #
  141. # LCD_I2C_SAINSMART_YWROBOT
  142. # Failing at the moment needs different library
  143. #- restore_configs
  144. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  145. #- build_marlin
  146. #
  147. # LCD_I2C_PANELOLU2
  148. #
  149. - restore_configs
  150. - opt_enable LCD_I2C_PANELOLU2
  151. - build_marlin
  152. #
  153. # LCD_I2C_VIKI
  154. #
  155. - restore_configs
  156. - opt_enable LCD_I2C_VIKI
  157. - build_marlin
  158. #
  159. # LCM1602
  160. #
  161. - restore_configs
  162. - opt_enable LCM1602
  163. - build_marlin
  164. #
  165. # Enable FILAMENTCHANGEENABLE
  166. #
  167. - restore_configs
  168. - opt_enable FILAMENTCHANGEENABLE ULTIMAKERCONTROLLER
  169. - build_marlin
  170. #
  171. # Enable filament sensor
  172. #
  173. - restore_configs
  174. - opt_enable FILAMENT_WIDTH_SENSOR
  175. - build_marlin
  176. #
  177. # Enable filament sensor with LCD display
  178. #
  179. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
  180. - build_marlin
  181. #
  182. # Enable COREXY
  183. #
  184. - restore_configs
  185. - opt_enable COREXY
  186. - build_marlin
  187. #
  188. # Enable COREXZ
  189. #
  190. - restore_configs
  191. - opt_enable COREXZ
  192. - build_marlin
  193. #
  194. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  195. #
  196. - restore_configs
  197. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  198. - pins_set RAMPS_14 X_MAX_PIN -1
  199. - opt_set_adv Z2_MAX_PIN 2
  200. - build_marlin
  201. #
  202. # Test PRINTCOUNTER
  203. #
  204. - restore_configs
  205. - opt_enable PRINTCOUNTER
  206. - build_marlin
  207. #
  208. #
  209. ######## Example Configurations ##############
  210. #
  211. # Delta Config (generic)
  212. - restore_configs
  213. - use_example_configs delta/generic
  214. - build_marlin
  215. #
  216. # Delta Config (generic) + ABL + ALLEN_KEY
  217. #
  218. - use_example_configs delta/generic
  219. - opt_disable DISABLE_MIN_ENDSTOPS
  220. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  221. - build_marlin
  222. #
  223. # Delta Config (Mini Kossel)
  224. #
  225. - use_example_configs delta/kossel_mini
  226. - build_marlin
  227. #
  228. # Makibox Config need to check board type for Teensy++ 2.0
  229. #
  230. #- use_example_configs makibox
  231. #- build_marlin
  232. #
  233. # SCARA Config
  234. #
  235. - use_example_configs SCARA
  236. - build_marlin
  237. #
  238. # tvrrug Config need to check board type for sanguino atmega644p
  239. #
  240. #- use_example_configs tvrrug/Round2
  241. #- build_marlin
  242. #
  243. #
  244. ######## Board Types #############
  245. #
  246. # To be added in nightly test branch
  247. #