Browse Source

Add Travis tests for CORXY and COREXZ

AnHardt 9 years ago
parent
commit
4e14e152fa
2 changed files with 12 additions and 2 deletions
  1. 10
    0
      .travis.yml
  2. 2
    2
      Marlin/Configuration.h

+ 10
- 0
.travis.yml View File

140
   - sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h
140
   - sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h
141
   - rm -rf .build/
141
   - rm -rf .build/
142
   - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega  Marlin/Marlin.ino
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
   ######## Example Configurations ##############
153
   ######## Example Configurations ##############
144
   # Delta Config (generic)
154
   # Delta Config (generic)
145
   - cp Marlin/example_configurations/delta/generic/Configuration* Marlin/
155
   - cp Marlin/example_configurations/delta/generic/Configuration* Marlin/

+ 2
- 2
Marlin/Configuration.h View File

305
 // @section machine
305
 // @section machine
306
 
306
 
307
 // Uncomment this option to enable CoreXY kinematics
307
 // Uncomment this option to enable CoreXY kinematics
308
-// #define COREXY
308
+//#define COREXY
309
 
309
 
310
 // Uncomment this option to enable CoreXZ kinematics
310
 // Uncomment this option to enable CoreXZ kinematics
311
-// #define COREXZ
311
+//#define COREXZ
312
 
312
 
313
 // Enable this option for Toshiba steppers
313
 // Enable this option for Toshiba steppers
314
 //#define CONFIG_STEPPERS_TOSHIBA
314
 //#define CONFIG_STEPPERS_TOSHIBA

Loading…
Cancel
Save