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

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