-
-
Notifications
You must be signed in to change notification settings - Fork 117
/
.travis.yml
242 lines (242 loc) · 9.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
dist: magokimbra
#
sudo: false
#
language: c
#
notifications:
email: false
#
before_install:
# Fetch the tag information for the current branch
- git fetch origin --tags
#
# Publish the buildroot script folder
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
- export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
#
# Start fb X server
#- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
- sleep 3
- export DISPLAY=:1.0
#
install:
# Install arduino 1.8.10
- wget http://downloads.arduino.cc/arduino-1.8.10-linux64.tar.xz
- tar xf arduino-1.8.10-linux64.tar.xz
- sudo mv arduino-1.8.10 /usr/local/share/arduino
- ln -s /usr/local/share/arduino/arduino ${TRAVIS_BUILD_DIR}/buildroot/bin/arduino
- eval \"${TRAVIS_BUILD_DIR}/buildroot/bin/arduino\" --pref "compiler.warning_level=none" --save-prefs
#
# Install: LiquidCrystal_I2C library
- git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
- mv LiquidCrystal_I2C/LiquidCrystal_I2C /usr/local/share/arduino/libraries/LiquidCrystal_I2C
#
# Install: LiquidTWI2 library
- git clone https://github.com/lincomatic/LiquidTWI2.git
- sudo mv LiquidTWI2 /usr/local/share/arduino/libraries/LiquidTWI2
#
# Install: SDFAT library
- git clone https://github.com/greiman/SdFat.git
- sudo mv SdFat /usr/local/share/arduino/libraries/SdFat
#
# Install: Monochrome Graphics Library for LCDs and OLEDs
- git clone https://github.com/olikraus/U8glib_Arduino.git
- sudo mv U8glib_Arduino /usr/local/share/arduino/libraries/U8glib
#
# Install: TMCStepper Motor Controller library
- git clone https://github.com/teemuatlut/TMCStepper.git
- sudo mv TMCStepper /usr/local/share/arduino/libraries/TMCStepper
#
# Install: Adafruit Neopixel library
- git clone https://github.com/adafruit/Adafruit_NeoPixel.git
- sudo mv Adafruit_NeoPixel /usr/local/share/arduino/libraries/Adafruit_NeoPixel
#
before_script:
# Change current working directory to the build dir
- cd ${TRAVIS_BUILD_DIR}
#
script:
# Backup Configuration pins_RAMPS.h
- cp MK4duo/Configuration_Basic.h MK4duo/Configuration_Basic.h.backup
- cp MK4duo/Configuration_Cartesian.h MK4duo/Configuration_Cartesian.h.backup
- cp MK4duo/Configuration_Core.h MK4duo/Configuration_Core.h.backup
- cp MK4duo/Configuration_Delta.h MK4duo/Configuration_Delta.h.backup
- cp MK4duo/Configuration_Feature.h MK4duo/Configuration_Feature.h.backup
- cp MK4duo/Configuration_LCD.h MK4duo/Configuration_LCD.h.backup
- cp MK4duo/Configuration_Driver.h MK4duo/Configuration_Driver.h.backup
- cp MK4duo/Configuration_Temperature.h MK4duo/Configuration_Temperature.h.backup
#
# Build with the default configurations
- build_mk4duo
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test MECH_CARTESIAN
# Test SDSUPPORT EEPROM_SETTINGS
# Display REPRAP_DISCOUNT_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic MECHANISM MECH_CARTESIAN
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_lcd REPRAP_DISCOUNT_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test MECH_CARTESIAN
# Test SDSUPPORT EEPROM_SETTINGS
# Display REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic MECHANISM MECH_CARTESIAN
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_lcd REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test MECH_COREXY
# Test SDSUPPORT EEPROM_SETTINGS
# Display REPRAP_DISCOUNT_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic MECHANISM MECH_COREXY
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_lcd REPRAP_DISCOUNT_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test Cartesian
# Test SDSUPPORT EEPROM_SETTINGS
# Display REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic MECHANISM MECH_COREXY
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_lcd REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test MECH_DELTA
# Test SDSUPPORT EEPROM_SETTINGS
# Display REPRAP_DISCOUNT_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic MECHANISM MECH_DELTA
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_lcd REPRAP_DISCOUNT_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test Cartesian
# Test SDSUPPORT EEPROM_SETTINGS
# Display REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic MECHANISM MECH_DELTA
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_lcd REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#
# Test 2 extruders and heated bed on basic RAMPS 1.4
# Test SDSUPPORT EEPROM_SETTINGS
# Test Z_PROBE_FIX_MOUNTED Z_SAFE_HOMING
# Display REPRAP_DISCOUNT_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HHB
- opt_set_basic EXTRUDERS 2
- opt_set_basic POWER_SUPPLY 1
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_HE1 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_set_temp PIDTEMPBED true
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_cartesian Z_PROBE_FIX_MOUNTED Z_SAFE_HOMING
- opt_enable_lcd REPRAP_DISCOUNT_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test SDSUPPORT EEPROM_SETTINGS
# Test a NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
# Test a FILAMENT_RUNOUT_SENSOR
# Display REPRAP_DISCOUNT_SMART_CONTROLLER, sdsupport, eeprom
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic EXTRUDERS 1
- opt_set_basic POWER_SUPPLY 1
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_feature NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
- opt_enable_feature FILAMENT_RUNOUT_SENSOR
- opt_enable_lcd REPRAP_DISCOUNT_SMART_CONTROLLER
- pin_set FIL_RUNOUT_0_PIN ORIG_X_MAX_PIN
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test SDSUPPORT EEPROM_SETTINGS
# Test a NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
# Test a FILAMENT_RUNOUT_SENSOR
# Test a BLTOUCH
# Test a AUTO_BED_LEVELING_LINEAR
# Display REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER, sdsupport, eeprom
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic EXTRUDERS 1
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_feature NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
- opt_enable_feature FILAMENT_RUNOUT_SENSOR
- opt_enable_cartesian BLTOUCH Z_SAFE_HOMING
- opt_enable_cartesian AUTO_BED_LEVELING_LINEAR
- opt_enable_lcd REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- pin_set FIL_RUNOUT_0_PIN ORIG_X_MAX_PIN
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test SDSUPPORT EEPROM_SETTINGS
# Test a NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
# Test a FILAMENT_RUNOUT_SENSOR
# Test a BLTOUCH
# Test a AUTO_BED_LEVELING_UBL
# Display REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER, sdsupport, eeprom
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic EXTRUDERS 1
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_feature NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE
- opt_enable_feature FILAMENT_RUNOUT_SENSOR
- opt_enable_cartesian BLTOUCH Z_SAFE_HOMING
- opt_enable_cartesian AUTO_BED_LEVELING_UBL
- opt_enable_lcd REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
- pin_set FIL_RUNOUT_0_PIN ORIG_X_MAX_PIN
- build_mk4duo
- restore_configs
#
# Test 1 extruders and heated bed on basic RAMPS 1.4
# Test MECH_DELTA
# Test SDSUPPORT EEPROM_SETTINGS
# Test LIN_ADVANCE JUNCTION_DEVIATION
# Display REPRAP_DISCOUNT_SMART_CONTROLLER
- opt_set_basic MOTHERBOARD BOARD_RAMPS_13_HFB
- opt_set_basic MECHANISM MECH_DELTA
- opt_set_temp TEMP_SENSOR_HE0 1
- opt_set_temp TEMP_SENSOR_BED0 1
- opt_enable_feature SDSUPPORT EEPROM_SETTINGS
- opt_enable_feature LIN_ADVANCE JUNCTION_DEVIATION
- opt_enable_lcd REPRAP_DISCOUNT_SMART_CONTROLLER
- build_mk4duo
- restore_configs
#