瀏覽代碼

Add Travis tests for CORXY and COREXZ

AnHardt 9 年之前
父節點
當前提交
4e14e152fa
共有 2 個文件被更改,包括 12 次插入2 次删除
  1. 10
    0
      .travis.yml
  2. 2
    2
      Marlin/Configuration.h

+ 10
- 0
.travis.yml 查看文件

@@ -140,6 +140,16 @@ script:
140 140
   - sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h
141 141
   - rm -rf .build/
142 142
   - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega  Marlin/Marlin.ino
143
+  # Enable COREXY
144
+  - cp Marlin/Configuration.h.backup Marlin/Configuration.h
145
+  - sed -i 's/\/\/#define COREXY/#define COREXY/g' Marlin/Configuration.h
146
+  - rm -rf .build/
147
+  - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega  Marlin/Marlin.ino
148
+  # Enable COREXZ
149
+  - cp Marlin/Configuration.h.backup Marlin/Configuration.h
150
+  - sed -i 's/\/\/#define COREXZ/#define COREXZ/g' Marlin/Configuration.h
151
+  - rm -rf .build/
152
+  - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega  Marlin/Marlin.ino
143 153
   ######## Example Configurations ##############
144 154
   # Delta Config (generic)
145 155
   - cp Marlin/example_configurations/delta/generic/Configuration* Marlin/

+ 2
- 2
Marlin/Configuration.h 查看文件

@@ -305,10 +305,10 @@ Here are some standard links for getting your machine calibrated:
305 305
 // @section machine
306 306
 
307 307
 // Uncomment this option to enable CoreXY kinematics
308
-// #define COREXY
308
+//#define COREXY
309 309
 
310 310
 // Uncomment this option to enable CoreXZ kinematics
311
-// #define COREXZ
311
+//#define COREXZ
312 312
 
313 313
 // Enable this option for Toshiba steppers
314 314
 //#define CONFIG_STEPPERS_TOSHIBA

Loading…
取消
儲存