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

Loading…
Cancel
Save