Add travis helper update_defaults
This commit is contained in:
parent
2ba198a624
commit
b8f8dc72f0
12
.travis.yml
12
.travis.yml
@ -356,8 +356,7 @@ script:
|
|||||||
- export TEST_PLATFORM="-e teensy35"
|
- export TEST_PLATFORM="-e teensy35"
|
||||||
- restore_configs
|
- restore_configs
|
||||||
- opt_set MOTHERBOARD BOARD_TEENSY35_36
|
- opt_set MOTHERBOARD BOARD_TEENSY35_36
|
||||||
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
|
- update_defaults
|
||||||
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
|
|
||||||
- cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
|
- cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
|
||||||
#
|
#
|
||||||
# Test Teensy3.5 with default config
|
# Test Teensy3.5 with default config
|
||||||
@ -453,8 +452,7 @@ script:
|
|||||||
- restore_configs
|
- restore_configs
|
||||||
- opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
|
- opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
|
||||||
- opt_set S_CURVE_ACCELERATION
|
- opt_set S_CURVE_ACCELERATION
|
||||||
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
|
- update_defaults
|
||||||
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
|
|
||||||
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
@ -464,15 +462,13 @@ script:
|
|||||||
- export TEST_PLATFORM="-e LPC1768"
|
- export TEST_PLATFORM="-e LPC1768"
|
||||||
- restore_configs
|
- restore_configs
|
||||||
- opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
- opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
||||||
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
|
- update_defaults
|
||||||
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
|
|
||||||
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
||||||
#
|
#
|
||||||
# Enable VIKI2, SDSUPPORT
|
# Enable VIKI2, SDSUPPORT
|
||||||
#
|
#
|
||||||
- restore_configs
|
- restore_configs
|
||||||
- opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
- opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
||||||
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
|
- update_defaults
|
||||||
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
|
|
||||||
- opt_enable VIKI2 SDSUPPORT
|
- opt_enable VIKI2 SDSUPPORT
|
||||||
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
||||||
|
4
buildroot/bin/update_defaults
Executable file
4
buildroot/bin/update_defaults
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
|
||||||
|
cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
|
Loading…
Reference in New Issue
Block a user