|
@@ -1,14 +1,20 @@
|
1
|
|
-dist: trusty
|
2
|
|
-sudo: true
|
3
|
|
- #
|
4
|
|
-language: c
|
5
|
|
- #
|
6
|
|
-dist: trusty
|
7
|
|
-sudo: required
|
8
|
|
-group: deprecated-2017Q2
|
|
1
|
+language: python
|
|
2
|
+python:
|
|
3
|
+ - "2.7"
|
|
4
|
+
|
9
|
5
|
notifications:
|
10
|
6
|
email: false
|
11
|
|
- #
|
|
7
|
+
|
|
8
|
+# Cache PlatformIO packages using Travis CI container-based infrastructure
|
|
9
|
+sudo: false
|
|
10
|
+cache:
|
|
11
|
+ pip: true
|
|
12
|
+ directories:
|
|
13
|
+ - "~/.platformio"
|
|
14
|
+
|
|
15
|
+env:
|
|
16
|
+ - TEST_PLATFORM="-e megaatmega2560"
|
|
17
|
+
|
12
|
18
|
before_install:
|
13
|
19
|
#
|
14
|
20
|
# Fetch the tag information for the current branch
|
|
@@ -16,84 +22,11 @@ before_install:
|
16
|
22
|
#
|
17
|
23
|
# Publish the buildroot script folder
|
18
|
24
|
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
|
19
|
|
- - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
|
20
|
|
- #
|
21
|
|
- # Start fb X server
|
22
|
|
- - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
|
23
|
|
- - sleep 3
|
24
|
|
- - export DISPLAY=:1.0
|
25
|
|
- #
|
26
|
|
- # Teensy compiling
|
27
|
|
- - lsb_release -a
|
28
|
|
- - sudo apt-get -qq update
|
29
|
|
- - sudo apt-get install -y binutils-arm-none-eabi gcc-arm-none-eabi lib32ncurses5 lib32z1
|
30
|
|
- #
|
31
|
|
-install:
|
32
|
|
- #
|
33
|
|
- # Install arduino 1.8.0
|
34
|
|
- - wget http://downloads-02.arduino.cc/arduino-1.8.0-linux64.tar.xz
|
35
|
|
- - tar xf arduino-1.8.0-linux64.tar.xz
|
36
|
|
- - sudo mv arduino-1.8.0 /usr/local/share/arduino
|
37
|
|
- - ln -s /usr/local/share/arduino/arduino ${TRAVIS_BUILD_DIR}/buildroot/bin/arduino
|
38
|
|
- #
|
39
|
|
- # Install: LiquidCrystal_I2C library
|
40
|
|
- - git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
|
41
|
|
- - mv LiquidCrystal_I2C/LiquidCrystal_I2C /usr/local/share/arduino/libraries/LiquidCrystal_I2C
|
42
|
|
- #
|
43
|
|
- # Install: LiquidTWI2 library
|
44
|
|
- - git clone https://github.com/lincomatic/LiquidTWI2.git
|
45
|
|
- - sudo mv LiquidTWI2 /usr/local/share/arduino/libraries/LiquidTWI2
|
46
|
|
- #
|
47
|
|
- # Install: Monochrome Graphics Library for LCDs and OLEDs
|
48
|
|
- - git clone https://github.com/olikraus/U8glib_Arduino.git
|
49
|
|
- - sudo mv U8glib_Arduino /usr/local/share/arduino/libraries/U8glib
|
50
|
|
- #
|
51
|
|
- # Install: L6470 Stepper Motor Driver library
|
52
|
|
- # - git clone https://github.com/ameyer/Arduino-L6470.git
|
53
|
|
- # - sudo mv Arduino-L6470/L6470 /usr/local/share/arduino/libraries/L6470
|
54
|
|
- #
|
55
|
|
- # Install: TMC26X Stepper Motor Controller library
|
56
|
|
- # - git clone https://github.com/trinamic/TMC26XStepper.git
|
57
|
|
- # - sudo mv TMC26XStepper /usr/local/share/arduino/libraries/TMC26XStepper
|
58
|
|
- #
|
59
|
|
- # Install: TMC2130 Stepper Motor Controller library
|
60
|
|
- - git clone https://github.com/teemuatlut/TMC2130Stepper.git
|
61
|
|
- - sudo mv TMC2130Stepper /usr/local/share/arduino/libraries/TMC2130Stepper
|
62
|
|
- #
|
63
|
|
- # Install: Adafruit Neopixel library
|
64
|
|
- - git clone https://github.com/adafruit/Adafruit_NeoPixel.git
|
65
|
|
- - sudo mv Adafruit_NeoPixel /usr/local/share/arduino/libraries/Adafruit_NeoPixel
|
66
|
|
- #
|
67
|
|
- # Install Teensy stuff
|
68
|
|
-
|
69
|
|
- - wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_4-2016q2/gccarmnoneeabi542016q220160622linuxtar.bz2
|
70
|
|
- - tar xf gccarmnoneeabi542016q220160622linuxtar.bz2
|
71
|
|
- - sudo mkdir -p /usr/local/share/arduino/hardware/tools/arm
|
72
|
|
- - sudo mv gcc-arm-none-eabi-5_4-2016q2/* /usr/local/share/arduino/hardware/tools/arm/
|
73
|
|
-
|
74
|
|
- - wget https://github.com/ARM-software/CMSIS_5/raw/develop/CMSIS/Lib/ARM/arm_cortexM4lf_math.lib
|
75
|
|
- - sudo mv arm_cortexM4lf_math.lib /usr/local/share/arduino/hardware/tools/arm/arm-none-eabi/lib/libarm_cortexM4lf_math.a
|
76
|
|
-
|
77
|
|
- - git clone https://github.com/teemuatlut/teensyfiles_for_marlin.git
|
78
|
|
- - sudo mkdir -p /usr/local/share/arduino/hardware/teensy/avr
|
79
|
|
- - sudo cp teensyfiles_for_marlin/*.txt /usr/local/share/arduino/hardware/teensy/avr/
|
80
|
|
-
|
81
|
|
- - git clone https://github.com/PaulStoffregen/cores.git
|
82
|
|
- - sudo mv cores /usr/local/share/arduino/hardware/teensy/avr
|
83
|
|
-
|
84
|
|
- # Teensy libraries
|
|
25
|
+ - ln -s ${TRAVIS_BUILD_DIR}/buildroot/bin/ ~/bin
|
85
|
26
|
|
86
|
|
- - git clone https://github.com/PaulStoffregen/Wire.git
|
87
|
|
- - git clone https://github.com/PaulStoffregen/SPI.git
|
88
|
|
- - git clone https://github.com/PaulStoffregen/Servo.git
|
89
|
|
- - sudo mkdir -p /usr/local/share/arduino/hardware/teensy/avr/libraries/
|
90
|
|
- - sudo mv Wire /usr/local/share/arduino/hardware/teensy/avr/libraries/
|
91
|
|
- - sudo mv SPI /usr/local/share/arduino/hardware/teensy/avr/libraries/
|
92
|
|
- - sudo mv Servo /usr/local/share/arduino/hardware/teensy/avr/libraries/
|
|
27
|
+install:
|
|
28
|
+ - pip install -U platformio
|
93
|
29
|
|
94
|
|
- - mkdir -p /usr/local/share/arduino/hardware/tools/arm
|
95
|
|
- - sudo ln -s /usr/bin /usr/local/share/arduino/hardware/tools/arm/bin
|
96
|
|
- - sudo ln -s /usr/lib /usr/local/share/arduino/hardware/tools/arm/lib
|
97
|
30
|
before_script:
|
98
|
31
|
#
|
99
|
32
|
# Change current working directory to the build dir
|
|
@@ -113,7 +46,7 @@ script:
|
113
|
46
|
#
|
114
|
47
|
# Build with the default configurations
|
115
|
48
|
#
|
116
|
|
- - build_marlin
|
|
49
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
117
|
50
|
#
|
118
|
51
|
# Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
|
119
|
52
|
# Test a "Fix Mounted" Probe with Safe Homing, some arc options,
|
|
@@ -127,26 +60,30 @@ script:
|
127
|
60
|
- opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES
|
128
|
61
|
- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
|
129
|
62
|
- opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
|
|
63
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
|
64
|
+
|
|
65
|
+ #
|
|
66
|
+ # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
|
|
67
|
+ #
|
130
|
68
|
- opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
|
131
|
69
|
- opt_enable_adv FWRETRACT MAX7219_DEBUG
|
132
|
70
|
- opt_set ABL_GRID_POINTS_X 16
|
133
|
71
|
- opt_set ABL_GRID_POINTS_Y 16
|
134
|
|
- - opt_set_adv FANMUX0_PIN 53
|
135
|
|
- - build_marlin
|
|
72
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
136
|
73
|
#
|
137
|
74
|
# Test a simple build of AUTO_BED_LEVELING_UBL
|
138
|
75
|
#
|
139
|
76
|
- restore_configs
|
140
|
77
|
- opt_enable AUTO_BED_LEVELING_UBL UBL_G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT FIX_MOUNTED_PROBE EEPROM_SETTINGS G3D_PANEL
|
141
|
78
|
- opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING
|
142
|
|
- - build_marlin
|
|
79
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
143
|
80
|
#
|
144
|
81
|
# Test a Sled Z Probe
|
145
|
82
|
# ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
|
146
|
83
|
#
|
147
|
84
|
- restore_configs
|
148
|
85
|
- opt_enable Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
|
149
|
|
- - build_marlin
|
|
86
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
150
|
87
|
#
|
151
|
88
|
# Test a Servo Probe
|
152
|
89
|
# ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
|
|
@@ -156,13 +93,13 @@ script:
|
156
|
93
|
- opt_set NUM_SERVOS 1
|
157
|
94
|
- opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
|
158
|
95
|
- opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
|
159
|
|
- - build_marlin
|
|
96
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
160
|
97
|
#
|
161
|
98
|
# Test MESH_BED_LEVELING feature, with LCD
|
162
|
99
|
#
|
163
|
100
|
- restore_configs
|
164
|
101
|
- opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
|
165
|
|
- - build_marlin
|
|
102
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
166
|
103
|
#
|
167
|
104
|
# Test PROBE_MANUALLY feature, with LCD support,
|
168
|
105
|
# EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
|
|
@@ -172,7 +109,7 @@ script:
|
172
|
109
|
- opt_set MOTHERBOARD BOARD_MINIRAMBO
|
173
|
110
|
- opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR LCD_BED_LEVELING ULTIMAKERCONTROLLER
|
174
|
111
|
- opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
|
175
|
|
- - build_marlin
|
|
112
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
176
|
113
|
#
|
177
|
114
|
# Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
|
178
|
115
|
# Include a test for LIN_ADVANCE here also
|
|
@@ -185,7 +122,7 @@ script:
|
185
|
122
|
- opt_set TEMP_SENSOR_4 999
|
186
|
123
|
- opt_set TEMP_SENSOR_BED 1
|
187
|
124
|
- opt_enable_adv LIN_ADVANCE
|
188
|
|
- - build_marlin
|
|
125
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
189
|
126
|
#
|
190
|
127
|
# Mixing Extruder with 5 steppers
|
191
|
128
|
#
|
|
@@ -193,7 +130,7 @@ script:
|
193
|
130
|
- opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
|
194
|
131
|
- opt_enable MIXING_EXTRUDER
|
195
|
132
|
- opt_set MIXING_STEPPERS 5
|
196
|
|
- - build_marlin
|
|
133
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
197
|
134
|
#
|
198
|
135
|
# Test DUAL_X_CARRIAGE
|
199
|
136
|
#
|
|
@@ -203,7 +140,7 @@ script:
|
203
|
140
|
- opt_set TEMP_SENSOR_1 1
|
204
|
141
|
- opt_enable USE_XMAX_PLUG
|
205
|
142
|
- opt_enable_adv DUAL_X_CARRIAGE
|
206
|
|
- - build_marlin
|
|
143
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
207
|
144
|
#
|
208
|
145
|
# Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
|
209
|
146
|
#
|
|
@@ -222,7 +159,7 @@ script:
|
222
|
159
|
- opt_set NUM_SERVOS 1
|
223
|
160
|
- opt_set TEMP_SENSOR_1 1
|
224
|
161
|
- opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
|
225
|
|
- - build_marlin
|
|
162
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
226
|
163
|
#
|
227
|
164
|
# Test MINIRAMBO for PWM_MOTOR_CURRENT
|
228
|
165
|
# ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
|
|
@@ -238,13 +175,13 @@ script:
|
238
|
175
|
- opt_enable_adv FILAMENT_CHANGE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
|
239
|
176
|
- pins_set RAMPS X_MAX_PIN -1
|
240
|
177
|
- opt_set_adv Z2_MAX_PIN 2
|
241
|
|
- - build_marlin
|
|
178
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
242
|
179
|
#
|
243
|
180
|
# Enable COREXY
|
244
|
181
|
#
|
245
|
182
|
- restore_configs
|
246
|
183
|
- opt_enable COREXY
|
247
|
|
- - build_marlin
|
|
184
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
248
|
185
|
#
|
249
|
186
|
# Enable COREYX (swapped)
|
250
|
187
|
#
|
|
@@ -259,13 +196,13 @@ script:
|
259
|
196
|
#
|
260
|
197
|
- restore_configs
|
261
|
198
|
- opt_enable ULTRA_LCD
|
262
|
|
- - build_marlin
|
|
199
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
263
|
200
|
#
|
264
|
201
|
# DOGLCD
|
265
|
202
|
#
|
266
|
203
|
- restore_configs
|
267
|
204
|
- opt_enable DOGLCD
|
268
|
|
- - build_marlin
|
|
205
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
269
|
206
|
#
|
270
|
207
|
# MAKRPANEL
|
271
|
208
|
# Needs to use Melzi and Sanguino hardware
|
|
@@ -279,7 +216,7 @@ script:
|
279
|
216
|
- restore_configs
|
280
|
217
|
- opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
|
281
|
218
|
- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
|
282
|
|
- - build_marlin
|
|
219
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
283
|
220
|
#
|
284
|
221
|
# G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
|
285
|
222
|
#
|
|
@@ -290,14 +227,14 @@ script:
|
290
|
227
|
- opt_set_adv SDSORT_USES_RAM true
|
291
|
228
|
- opt_set_adv SDSORT_USES_STACK true
|
292
|
229
|
- opt_set_adv SDSORT_CACHE_NAMES true
|
293
|
|
- - build_marlin
|
|
230
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
294
|
231
|
#
|
295
|
232
|
# REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
|
296
|
233
|
#
|
297
|
234
|
- restore_configs
|
298
|
235
|
- opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
|
299
|
236
|
- opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING
|
300
|
|
- - build_marlin
|
|
237
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
301
|
238
|
#
|
302
|
239
|
# REPRAPWORLD_KEYPAD
|
303
|
240
|
#
|
|
@@ -310,7 +247,7 @@ script:
|
310
|
247
|
#
|
311
|
248
|
- restore_configs
|
312
|
249
|
- opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
|
313
|
|
- - build_marlin
|
|
250
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
314
|
251
|
#
|
315
|
252
|
######## I2C LCD/PANELS ##############
|
316
|
253
|
#
|
|
@@ -340,7 +277,7 @@ script:
|
340
|
277
|
#
|
341
|
278
|
- restore_configs
|
342
|
279
|
- opt_enable LCM1602
|
343
|
|
- - build_marlin
|
|
280
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
344
|
281
|
#
|
345
|
282
|
#
|
346
|
283
|
######## Example Configurations ##############
|
|
@@ -353,19 +290,19 @@ script:
|
353
|
290
|
# Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
|
354
|
291
|
- use_example_configs delta/generic
|
355
|
292
|
- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
|
356
|
|
- - build_marlin
|
|
293
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
357
|
294
|
#
|
358
|
295
|
# Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
|
359
|
296
|
#
|
360
|
297
|
- use_example_configs delta/generic
|
361
|
298
|
- opt_disable DISABLE_MIN_ENDSTOPS
|
362
|
299
|
- opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2
|
363
|
|
- - build_marlin
|
|
300
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
364
|
301
|
#
|
365
|
302
|
# Delta Config (FLSUN AC because it's complex)
|
366
|
303
|
#
|
367
|
304
|
- use_example_configs delta/FLSUN/auto_calibrate
|
368
|
|
- - build_marlin
|
|
305
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
369
|
306
|
#
|
370
|
307
|
# Makibox Config need to check board type for Teensy++ 2.0
|
371
|
308
|
#
|
|
@@ -378,7 +315,7 @@ script:
|
378
|
315
|
- opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
|
379
|
316
|
- opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
|
380
|
317
|
- opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
|
381
|
|
- - build_marlin
|
|
318
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
382
|
319
|
#
|
383
|
320
|
# tvrrug Config need to check board type for sanguino atmega644p
|
384
|
321
|
#
|
|
@@ -390,8 +327,8 @@ script:
|
390
|
327
|
#
|
391
|
328
|
# To be added in nightly test branch
|
392
|
329
|
#
|
393
|
|
- # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
|
394
|
|
- #
|
|
330
|
+
|
|
331
|
+ - export TEST_PLATFORM="-e teensy35"
|
395
|
332
|
- restore_configs
|
396
|
333
|
- opt_set MOTHERBOARD BOARD_TEENSY35_36
|
397
|
334
|
- cp Marlin/Configuration.h Marlin/Configuration.h.backup
|
|
@@ -400,66 +337,66 @@ script:
|
400
|
337
|
#
|
401
|
338
|
# Test Teensy3.5 with default config
|
402
|
339
|
#
|
403
|
|
- - build_marlin_teensy35
|
|
340
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
404
|
341
|
#
|
405
|
342
|
# Test heated bed temperature sensor
|
406
|
343
|
#
|
407
|
344
|
- opt_set TEMP_SENSOR_BED 1
|
408
|
|
- - build_marlin_teensy35
|
|
345
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
409
|
346
|
#
|
410
|
347
|
# Test 2 extruders on basic RAMPS 1.4
|
411
|
348
|
#
|
412
|
349
|
- opt_set EXTRUDERS 2
|
413
|
350
|
- opt_set TEMP_SENSOR_1 1
|
414
|
|
- - build_marlin_teensy35
|
|
351
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
415
|
352
|
#
|
416
|
353
|
# Test PIDTEMPBED
|
417
|
354
|
#
|
418
|
355
|
- restore_configs
|
419
|
356
|
- opt_enable PIDTEMPBED
|
420
|
|
- - build_marlin_teensy35
|
|
357
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
421
|
358
|
#
|
422
|
359
|
# Test a "Fix Mounted" Probe along with Safe Homing
|
423
|
360
|
#
|
424
|
361
|
- restore_configs
|
425
|
362
|
- opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING
|
426
|
|
- - build_marlin_teensy35
|
|
363
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
427
|
364
|
#
|
428
|
365
|
# ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
|
429
|
366
|
#
|
430
|
367
|
- opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
|
431
|
368
|
- opt_set ABL_GRID_POINTS_X 16
|
432
|
369
|
- opt_set ABL_GRID_POINTS_Y 16
|
433
|
|
- - build_marlin_teensy35
|
|
370
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
434
|
371
|
#
|
435
|
372
|
# Test a Sled Z Probe
|
436
|
373
|
#
|
437
|
374
|
- restore_configs
|
438
|
375
|
- opt_enable Z_PROBE_SLED
|
439
|
|
- - build_marlin_teensy35
|
|
376
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
440
|
377
|
#
|
441
|
378
|
# ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
|
442
|
379
|
#
|
443
|
380
|
- opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
|
444
|
|
- - build_marlin_teensy35
|
|
381
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
445
|
382
|
#
|
446
|
383
|
# Test a Servo Probe
|
447
|
384
|
#
|
448
|
385
|
- restore_configs
|
449
|
386
|
- opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
|
450
|
|
- - build_marlin_teensy35
|
|
387
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
451
|
388
|
#
|
452
|
389
|
# ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
|
453
|
390
|
#
|
454
|
391
|
- opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
|
455
|
392
|
- opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
|
456
|
|
- - build_marlin_teensy35
|
|
393
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
457
|
394
|
#
|
458
|
395
|
# Test MESH_BED_LEVELING feature, with LCD
|
459
|
396
|
#
|
460
|
397
|
- restore_configs
|
461
|
398
|
- opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
|
462
|
|
- - build_marlin_teensy35
|
|
399
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
463
|
400
|
#
|
464
|
401
|
# Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
|
465
|
402
|
# INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
|
|
@@ -467,14 +404,14 @@ script:
|
467
|
404
|
- restore_configs
|
468
|
405
|
# - opt_enable M100_FREE_MEMORY_WATCHER // Compiler error!
|
469
|
406
|
- opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
|
470
|
|
- - build_marlin_teensy35
|
|
407
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
471
|
408
|
#
|
472
|
409
|
# Mixing Extruder
|
473
|
410
|
#
|
474
|
411
|
- restore_configs
|
475
|
412
|
- opt_enable MIXING_EXTRUDER
|
476
|
413
|
- opt_set MIXING_STEPPERS 2
|
477
|
|
- - build_marlin_teensy35
|
|
414
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
478
|
415
|
#
|
479
|
416
|
# Test DUAL_X_CARRIAGE
|
480
|
417
|
#
|
|
@@ -493,44 +430,44 @@ script:
|
493
|
430
|
- opt_set NUM_SERVOS 1
|
494
|
431
|
- opt_set TEMP_SENSOR_1 1
|
495
|
432
|
- opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
|
496
|
|
- - build_marlin_teensy35
|
|
433
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
497
|
434
|
#
|
498
|
435
|
# Test FILAMENT_CHANGE_FEATURE and LCD_INFO_MENU
|
499
|
436
|
#
|
500
|
437
|
- restore_configs
|
501
|
438
|
- opt_enable ULTIMAKERCONTROLLER
|
502
|
439
|
- opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU
|
503
|
|
- - build_marlin_teensy35
|
|
440
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
504
|
441
|
#
|
505
|
442
|
# Enable filament sensor
|
506
|
443
|
#
|
507
|
444
|
- restore_configs
|
508
|
445
|
- opt_enable FILAMENT_WIDTH_SENSOR
|
509
|
|
- - build_marlin_teensy35
|
|
446
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
510
|
447
|
#
|
511
|
448
|
# Enable filament sensor with LCD display
|
512
|
449
|
#
|
513
|
450
|
- opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
|
514
|
|
- - build_marlin_teensy35
|
|
451
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
515
|
452
|
#
|
516
|
453
|
# Enable BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS, and I2C_SLAVE_ADDRESS
|
517
|
454
|
#
|
518
|
455
|
- restore_configs
|
519
|
456
|
- opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
|
520
|
457
|
- opt_set_adv I2C_SLAVE_ADDRESS 63
|
521
|
|
- - build_marlin_teensy35
|
|
458
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
522
|
459
|
#
|
523
|
460
|
# Enable COREXY
|
524
|
461
|
#
|
525
|
462
|
- restore_configs
|
526
|
463
|
- opt_enable COREXY
|
527
|
|
- - build_marlin_teensy35
|
|
464
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
528
|
465
|
#
|
529
|
466
|
# Enable COREXZ
|
530
|
467
|
#
|
531
|
468
|
- restore_configs
|
532
|
469
|
- opt_enable COREXZ
|
533
|
|
- - build_marlin_teensy35
|
|
470
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
534
|
471
|
#
|
535
|
472
|
# Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
|
536
|
473
|
#
|
|
@@ -538,25 +475,25 @@ script:
|
538
|
475
|
- opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
|
539
|
476
|
- pins_set RAMPS X_MAX_PIN -1
|
540
|
477
|
- opt_set_adv Z2_MAX_PIN 2
|
541
|
|
- - build_marlin_teensy35
|
|
478
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
542
|
479
|
#
|
543
|
480
|
# Test PRINTCOUNTER
|
544
|
481
|
#
|
545
|
482
|
- restore_configs
|
546
|
483
|
- opt_enable PRINTCOUNTER
|
547
|
|
- - build_marlin_teensy35
|
|
484
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
548
|
485
|
#
|
549
|
486
|
# Test NOZZLE_PARK_FEATURE
|
550
|
487
|
#
|
551
|
488
|
- restore_configs
|
552
|
489
|
- opt_enable NOZZLE_PARK_FEATURE
|
553
|
|
- - build_marlin_teensy35
|
|
490
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
554
|
491
|
#
|
555
|
492
|
# Test NOZZLE_CLEAN_FEATURE
|
556
|
493
|
#
|
557
|
494
|
- restore_configs
|
558
|
495
|
- opt_enable NOZZLE_CLEAN_FEATURE
|
559
|
|
- - build_marlin_teensy35
|
|
496
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
560
|
497
|
#
|
561
|
498
|
#
|
562
|
499
|
######## STANDARD LCD/PANELS ##############
|
|
@@ -565,19 +502,19 @@ script:
|
565
|
502
|
#
|
566
|
503
|
- restore_configs
|
567
|
504
|
- opt_enable ULTRA_LCD
|
568
|
|
- - build_marlin_teensy35
|
|
505
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
569
|
506
|
#
|
570
|
507
|
# DOGLCD
|
571
|
508
|
#
|
572
|
509
|
- restore_configs
|
573
|
510
|
- opt_enable DOGLCD
|
574
|
|
- - build_marlin_teensy35
|
|
511
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
575
|
512
|
#
|
576
|
513
|
# ULTIMAKERCONTROLLER
|
577
|
514
|
#
|
578
|
515
|
- restore_configs
|
579
|
516
|
- opt_enable ULTIMAKERCONTROLLER
|
580
|
|
- - build_marlin_teensy35
|
|
517
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
581
|
518
|
#
|
582
|
519
|
# MAKRPANEL
|
583
|
520
|
# Needs to use Melzi and Sanguino hardware
|
|
@@ -590,19 +527,19 @@ script:
|
590
|
527
|
#
|
591
|
528
|
- restore_configs
|
592
|
529
|
- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
|
593
|
|
- - build_marlin_teensy35
|
|
530
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
594
|
531
|
#
|
595
|
532
|
# G3D_PANEL
|
596
|
533
|
#
|
597
|
534
|
- restore_configs
|
598
|
535
|
- opt_enable G3D_PANEL SDSUPPORT
|
599
|
|
- - build_marlin_teensy35
|
|
536
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
600
|
537
|
#
|
601
|
538
|
# REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
602
|
539
|
#
|
603
|
540
|
- restore_configs
|
604
|
541
|
- opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
|
605
|
|
- - build_marlin_teensy35
|
|
542
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
606
|
543
|
#
|
607
|
544
|
# REPRAPWORLD_KEYPAD
|
608
|
545
|
#
|
|
@@ -615,7 +552,7 @@ script:
|
615
|
552
|
#
|
616
|
553
|
- restore_configs
|
617
|
554
|
- opt_enable RA_CONTROL_PANEL
|
618
|
|
- - build_marlin_teensy35
|
|
555
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
619
|
556
|
#
|
620
|
557
|
######## I2C LCD/PANELS ##############
|
621
|
558
|
#
|
|
@@ -645,4 +582,4 @@ script:
|
645
|
582
|
#
|
646
|
583
|
- restore_configs
|
647
|
584
|
- opt_enable LCM1602
|
648
|
|
- - build_marlin_teensy35
|
|
585
|
+ - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|