Browse Source

Add travis helper update_defaults

pull/1/head
Scott Lahteine 7 years ago
parent
commit
b8f8dc72f0
  1. 12
      .travis.yml
  2. 4
      buildroot/bin/update_defaults

12
.travis.yml

@ -356,8 +356,7 @@ script:
- export TEST_PLATFORM="-e teensy35"
- restore_configs
- opt_set MOTHERBOARD BOARD_TEENSY35_36
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
- update_defaults
- cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
#
# Test Teensy3.5 with default config
@ -453,8 +452,7 @@ script:
- restore_configs
- opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
- opt_set S_CURVE_ACCELERATION
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
- update_defaults
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
#############################
@ -464,15 +462,13 @@ script:
- export TEST_PLATFORM="-e LPC1768"
- restore_configs
- opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
- update_defaults
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
#
# Enable VIKI2, SDSUPPORT
#
- restore_configs
- opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
- cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
- cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
- update_defaults
- opt_enable VIKI2 SDSUPPORT
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}

4
buildroot/bin/update_defaults

@ -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…
Cancel
Save