Browse Source

Comments for legibility, test DEBUG_LEVELING

Scott Lahteine 8 years ago
parent
commit
ad61a8684a
1 changed files with 92 additions and 20 deletions
  1. 92
    20
      .travis.yml

+ 92
- 20
.travis.yml View File

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

Loading…
Cancel
Save