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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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 NUM_SERVOS Z_ENDSTOP_SERVO_NR SERVO_ENDSTOP_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  66. - build_marlin
  67. # enable EEPROM_SETTINGS & EEPROM_CHITCHAT
  68. - restore_configs
  69. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT
  70. - build_marlin
  71. ### LCDS ###
  72. # ULTIMAKERCONTROLLER
  73. - restore_configs
  74. - opt_enable ULTIMAKERCONTROLLER
  75. - build_marlin
  76. # MAKRPANEL
  77. # Needs to use melzi and sanguino hardware
  78. #- restore_configs
  79. #- opt_enable MAKRPANEL
  80. #- build_marlin
  81. # REPRAP_DISCOUNT_SMART_CONTROLLER
  82. - restore_configs
  83. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
  84. - build_marlin
  85. # G3D_PANEL
  86. - restore_configs
  87. - opt_enable G3D_PANEL SDSUPPORT
  88. - build_marlin
  89. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  90. - restore_configs
  91. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  92. - build_marlin
  93. # REPRAPWORLD_KEYPAD
  94. # Cant find configuration details to get it to compile
  95. #- restore_configs
  96. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  97. #- build_marlin
  98. # RA_CONTROL_PANEL
  99. - restore_configs
  100. - opt_enable RA_CONTROL_PANEL
  101. - build_marlin
  102. ### I2C PANELS ###
  103. # LCD_I2C_SAINSMART_YWROBOT
  104. # Failing at the moment needs different library
  105. #- restore_configs
  106. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  107. #- build_marlin
  108. # LCD_I2C_PANELOLU2
  109. - restore_configs
  110. - opt_enable LCD_I2C_PANELOLU2
  111. - build_marlin
  112. # LCD_I2C_VIKI
  113. - restore_configs
  114. - opt_enable LCD_I2C_VIKI
  115. - build_marlin
  116. # LCM1602
  117. - restore_configs
  118. - opt_enable LCM1602
  119. - build_marlin
  120. # Enable FILAMENTCHANGEENABLE
  121. - restore_configs
  122. - opt_enable FILAMENTCHANGEENABLE
  123. - build_marlin
  124. # Enable filament sensor
  125. - restore_configs
  126. - opt_enable FILAMENT_WIDTH_SENSOR
  127. - build_marlin
  128. # Enable filament sensor with LCD display
  129. - restore_configs
  130. - opt_enable ULTIMAKERCONTROLLER FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY
  131. - build_marlin
  132. # Enable COREXY
  133. - restore_configs
  134. - opt_enable COREXY
  135. - build_marlin
  136. # Enable COREXZ
  137. - restore_configs
  138. - opt_enable COREXZ
  139. - build_marlin
  140. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  141. - restore_configs
  142. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  143. - pins_set RAMPS_14 X_MAX_PIN -1
  144. - opt_set_adv Z2_MAX_PIN 2
  145. - build_marlin
  146. - restore_configs
  147. ######## Example Configurations ##############
  148. # Delta Config (generic)
  149. - use_example_configs delta/generic
  150. - build_marlin
  151. # Delta Config (generic) + ABL + ALLEN_KEY
  152. - use_example_configs delta/generic
  153. - opt_disable DISABLE_MIN_ENDSTOPS
  154. - opt_enable AUTO_BED_LEVELING_FEATURE Z_PROBE_ALLEN_KEY
  155. - build_marlin
  156. # Delta Config (Mini Kossel)
  157. - use_example_configs delta/kossel_mini
  158. - build_marlin
  159. # Makibox Config need to check board type for Teensy++ 2.0
  160. #- use_example_configs makibox
  161. #- build_marlin
  162. # SCARA Config
  163. - use_example_configs SCARA
  164. - build_marlin
  165. # tvrrug Config need to check board type for sanguino atmega644p
  166. #- use_example_configs tvrrug/Round2
  167. #- build_marlin
  168. ######## Board Types #############