Add more platform Travis tests
This commit is contained in:
parent
0f4d3e1bca
commit
944920176f
28 changed files with 362 additions and 11 deletions
33
.travis.yml
33
.travis.yml
|
@ -9,18 +9,37 @@ notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- TEST_PLATFORM="megaatmega2560"
|
- TEST_PLATFORM="ARMED"
|
||||||
|
#- TEST_PLATFORM="at90usb1286_cdc"
|
||||||
|
#- TEST_PLATFORM="at90usb1286_dfu"
|
||||||
- TEST_PLATFORM="DUE"
|
- TEST_PLATFORM="DUE"
|
||||||
|
- TEST_PLATFORM="esp32"
|
||||||
|
- TEST_PLATFORM="fysetc_f6_13"
|
||||||
|
- TEST_PLATFORM="jgaurora_a5s_a1"
|
||||||
|
- TEST_PLATFORM="linux_native"
|
||||||
- TEST_PLATFORM="LPC1768"
|
- TEST_PLATFORM="LPC1768"
|
||||||
- TEST_PLATFORM="LPC1769"
|
- TEST_PLATFORM="LPC1769"
|
||||||
- TEST_PLATFORM="STM32F1"
|
#- TEST_PLATFORM="malyanm200"
|
||||||
|
- TEST_PLATFORM="megaatmega1280"
|
||||||
|
- TEST_PLATFORM="megaatmega2560"
|
||||||
|
#- TEST_PLATFORM="mks_robin"
|
||||||
|
#- TEST_PLATFORM="mks_robin_lite"
|
||||||
|
#- TEST_PLATFORM="mks_robin_mini"
|
||||||
|
#- TEST_PLATFORM="mks_robin_nano"
|
||||||
|
- TEST_PLATFORM="rambo"
|
||||||
|
- TEST_PLATFORM="adafruit_grandcentral_m4"
|
||||||
|
- TEST_PLATFORM="sanguino_atmega1284p"
|
||||||
|
- TEST_PLATFORM="sanguino_atmega644p"
|
||||||
|
- TEST_PLATFORM="STM32F103R"
|
||||||
|
#- TEST_PLATFORM="BIGTREE_SKR_MINI"
|
||||||
|
#- TEST_PLATFORM="fysetc_STM32F1"
|
||||||
|
- TEST_PLATFORM="alfawise_U20"
|
||||||
|
#- TEST_PLATFORM="STM32F4"
|
||||||
|
- TEST_PLATFORM="black_stm32f407ve"
|
||||||
|
- TEST_PLATFORM="BIGTREE_SKR_PRO"
|
||||||
|
#- TEST_PLATFORM="STM32F7"
|
||||||
- TEST_PLATFORM="teensy31"
|
- TEST_PLATFORM="teensy31"
|
||||||
- TEST_PLATFORM="teensy35"
|
- TEST_PLATFORM="teensy35"
|
||||||
- TEST_PLATFORM="linux_native"
|
|
||||||
- TEST_PLATFORM="esp32"
|
|
||||||
- TEST_PLATFORM="alfawise_U20"
|
|
||||||
- TEST_PLATFORM="black_stm32f407ve"
|
|
||||||
- TEST_PLATFORM="adafruit_grandcentral_m4"
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
#
|
#
|
||||||
|
|
|
@ -27,6 +27,9 @@ case $TESTENV in
|
||||||
lpc9) TESTENV='LPC1769' ;;
|
lpc9) TESTENV='LPC1769' ;;
|
||||||
mega) TESTENV='megaatmega2560' ;;
|
mega) TESTENV='megaatmega2560' ;;
|
||||||
stm) TESTENV='STM32F1' ;;
|
stm) TESTENV='STM32F1' ;;
|
||||||
|
f1) TESTENV='STM32F1' ;;
|
||||||
|
f4) TESTENV='STM32F4' ;;
|
||||||
|
f7) TESTENV='STM32F7' ;;
|
||||||
teensy) TESTENV='teensy31' ;;
|
teensy) TESTENV='teensy31' ;;
|
||||||
t31) TESTENV='teensy31' ;;
|
t31) TESTENV='teensy31' ;;
|
||||||
t32) TESTENV='teensy31' ;;
|
t32) TESTENV='teensy31' ;;
|
||||||
|
|
16
buildroot/share/tests/ARMED-tests
Normal file
16
buildroot/share/tests/ARMED-tests
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 ARMED
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
use_example_configs ArmEd
|
||||||
|
exec_test $1 $2 "ArmEd Example Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
17
buildroot/share/tests/BIGTREE_SKR_MINI-tests
Normal file
17
buildroot/share/tests/BIGTREE_SKR_MINI-tests
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 Bigtreetech
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_BIGTREE_SKR_E3_DIP
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
18
buildroot/share/tests/BIGTREE_SKR_PRO-tests
Normal file
18
buildroot/share/tests/BIGTREE_SKR_PRO-tests
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F4 BigTree_SKR_Pro
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_BIGTREE_SKR_PRO_V1_1
|
||||||
|
opt_set SERIAL_PORT 1
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
|
@ -6,9 +6,12 @@
|
||||||
# exit on first failure
|
# exit on first failure
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
||||||
exec_test $1 $2 "Build Re-ARM Default Configuration"
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
|
||||||
|
|
|
@ -6,9 +6,11 @@
|
||||||
# exit on first failure
|
# exit on first failure
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
restore_configs
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
use_example_configs Azteeg/X5GT
|
use_example_configs Azteeg/X5GT
|
||||||
exec_test $1 $2 "Azteeg X5GT Example Config"
|
exec_test $1 $2 "Azteeg X5GT Example Configuration"
|
||||||
|
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_SMOOTHIEBOARD
|
opt_set MOTHERBOARD BOARD_SMOOTHIEBOARD
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
# exit on first failure
|
# exit on first failure
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_STM32F1R
|
opt_set MOTHERBOARD BOARD_STM32F1R
|
||||||
opt_set EXTRUDERS 2
|
opt_set EXTRUDERS 2
|
||||||
|
|
16
buildroot/share/tests/STM32F4-tests
Normal file
16
buildroot/share/tests/STM32F4-tests
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F4 disco_f407vg
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
use_example_configs STM32/STM32F4
|
||||||
|
exec_test $1 $2 "STM32F4 Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
18
buildroot/share/tests/STM32F7-tests
Normal file
18
buildroot/share/tests/STM32F7-tests
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F7
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_REMRAM_V1
|
||||||
|
opt_set SERIAL_PORT 1
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
|
@ -6,6 +6,9 @@
|
||||||
# exit on first failure
|
# exit on first failure
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_AGCM4_RURAMPS4D_13
|
opt_set MOTHERBOARD BOARD_AGCM4_RURAMPS4D_13
|
||||||
exec_test $1 $2 "Build Grand Central M4 Default Configuration"
|
exec_test $1 $2 "Build Grand Central M4 Default Configuration"
|
||||||
|
|
17
buildroot/share/tests/at90usb1286_cdc-tests
Normal file
17
buildroot/share/tests/at90usb1286_cdc-tests
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for AT90USB1286 ARMED
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_BRAINWAVE_PRO
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
17
buildroot/share/tests/at90usb1286_dfu-tests
Normal file
17
buildroot/share/tests/at90usb1286_dfu-tests
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for AT90USB1286 ARMED
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_PRINTRBOARD
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
|
@ -6,6 +6,9 @@
|
||||||
# exit on first failure
|
# exit on first failure
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_ESP32
|
opt_set MOTHERBOARD BOARD_ESP32
|
||||||
opt_enable WIFISUPPORT GCODE_MACROS BAUD_RATE_GCODE
|
opt_enable WIFISUPPORT GCODE_MACROS BAUD_RATE_GCODE
|
||||||
|
|
16
buildroot/share/tests/fysetc_STM32F1-tests
Normal file
16
buildroot/share/tests/fysetc_STM32F1-tests
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 FYSETC
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
use_example_configs "FYSETC/Cheetah 1.2/base"
|
||||||
|
exec_test $1 $2 "Cheetah 1.2 Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
17
buildroot/share/tests/fysetc_f6_13-tests
Normal file
17
buildroot/share/tests/fysetc_f6_13-tests
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for AVR ATmega FYSETC F6 1.3
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_FYSETC_F6_13
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
16
buildroot/share/tests/jgaurora_a5s_a1-tests
Normal file
16
buildroot/share/tests/jgaurora_a5s_a1-tests
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F103ZE JGAurora A5S A1
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
use_example_configs JGAurora/A5S
|
||||||
|
exec_test $1 $2 "JGAurora/A5S Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
|
@ -6,6 +6,9 @@
|
||||||
# exit on first failure
|
# exit on first failure
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
restore_configs
|
restore_configs
|
||||||
opt_set MOTHERBOARD BOARD_LINUX_RAMPS
|
opt_set MOTHERBOARD BOARD_LINUX_RAMPS
|
||||||
opt_set TEMP_SENSOR_BED 1
|
opt_set TEMP_SENSOR_BED 1
|
||||||
|
|
13
buildroot/share/tests/malyanm200-tests
Normal file
13
buildroot/share/tests/malyanm200-tests
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 malyanM200
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
use_example_configs Malyan/M200
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
restore_configs
|
16
buildroot/share/tests/megaatmega1280-tests
Normal file
16
buildroot/share/tests/megaatmega1280-tests
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for AVR ATmega1280
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Build tests for AVR
|
# Build tests for AVR ATmega2560
|
||||||
#
|
#
|
||||||
|
|
||||||
# exit on first failure
|
# exit on first failure
|
||||||
|
|
13
buildroot/share/tests/mks_robin-tests
Normal file
13
buildroot/share/tests/mks_robin-tests
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 genericSTM32F103ZE
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
use_example_configs Mks/Robin
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
restore_configs
|
17
buildroot/share/tests/mks_robin_lite-tests
Normal file
17
buildroot/share/tests/mks_robin_lite-tests
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 genericSTM32F103RC
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
use_example_configs Mks/Robin
|
||||||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_LITE
|
||||||
|
opt_set EXTRUDERS 1
|
||||||
|
opt_set TEMP_SENSOR_1 0
|
||||||
|
opt_disable FSMC_GRAPHICAL_TFT
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
restore_configs
|
16
buildroot/share/tests/mks_robin_mini-tests
Normal file
16
buildroot/share/tests/mks_robin_mini-tests
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 genericSTM32F103VE
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
use_example_configs Mks/Robin
|
||||||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_MINI
|
||||||
|
opt_set EXTRUDERS 1
|
||||||
|
opt_set TEMP_SENSOR_1 0
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
restore_configs
|
14
buildroot/share/tests/mks_robin_nano-tests
Normal file
14
buildroot/share/tests/mks_robin_nano-tests
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for STM32F1 genericSTM32F103VE
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
use_example_configs Mks/Robin
|
||||||
|
opt_set MOTHERBOARD BOARD_MKS_ROBIN_NANO
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
restore_configs
|
21
buildroot/share/tests/rambo-tests
Normal file
21
buildroot/share/tests/rambo-tests
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for AVR ATmega2560 RAMBo
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_EINSY_RAMBO
|
||||||
|
opt_set X_DRIVER_TYPE TMC2130
|
||||||
|
opt_set Y_DRIVER_TYPE TMC2130
|
||||||
|
opt_set Z_DRIVER_TYPE TMC2130
|
||||||
|
opt_set E0_DRIVER_TYPE TMC2130
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
17
buildroot/share/tests/sanguino_atmega1284p-tests
Normal file
17
buildroot/share/tests/sanguino_atmega1284p-tests
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for AVR ATmega 1284p
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_SANGUINOLOLU_12
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
17
buildroot/share/tests/sanguino_atmega644p-tests
Normal file
17
buildroot/share/tests/sanguino_atmega644p-tests
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for AVR ATmega 644p
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build with the default configurations
|
||||||
|
#
|
||||||
|
restore_configs
|
||||||
|
opt_set MOTHERBOARD BOARD_SANGUINOLOLU_12
|
||||||
|
exec_test $1 $2 "Default Configuration"
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
restore_configs
|
Reference in a new issue