Skip to content

Commit

Permalink
Add more platform Travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 31, 2019
1 parent 0f4d3e1 commit 9449201
Show file tree
Hide file tree
Showing 28 changed files with 362 additions and 11 deletions.
33 changes: 26 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,37 @@ notifications:
email: false

env:
- TEST_PLATFORM="megaatmega2560"
- TEST_PLATFORM="ARMED"
#- TEST_PLATFORM="at90usb1286_cdc"
#- TEST_PLATFORM="at90usb1286_dfu"
- 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="LPC1769"
- TEST_PLATFORM="STM32F1"
- TEST_PLATFORM="teensy31"
- TEST_PLATFORM="teensy35"
- TEST_PLATFORM="linux_native"
- TEST_PLATFORM="esp32"
#- 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="adafruit_grandcentral_m4"
- TEST_PLATFORM="BIGTREE_SKR_PRO"
#- TEST_PLATFORM="STM32F7"
- TEST_PLATFORM="teensy31"
- TEST_PLATFORM="teensy35"

before_install:
#
Expand Down
3 changes: 3 additions & 0 deletions buildroot/share/git/mftest
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ case $TESTENV in
lpc9) TESTENV='LPC1769' ;;
mega) TESTENV='megaatmega2560' ;;
stm) TESTENV='STM32F1' ;;
f1) TESTENV='STM32F1' ;;
f4) TESTENV='STM32F4' ;;
f7) TESTENV='STM32F7' ;;
teensy) TESTENV='teensy31' ;;
t31) TESTENV='teensy31' ;;
t32) TESTENV='teensy31' ;;
Expand Down
16 changes: 16 additions & 0 deletions buildroot/share/tests/ARMED-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 17 additions & 0 deletions buildroot/share/tests/BIGTREE_SKR_MINI-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 18 additions & 0 deletions buildroot/share/tests/BIGTREE_SKR_PRO-tests
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion buildroot/share/tests/LPC1768-tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
# exit on first failure
set -e

#
# Build with the default configurations
#
restore_configs
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
opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
Expand Down
6 changes: 4 additions & 2 deletions buildroot/share/tests/LPC1769-tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
# exit on first failure
set -e

restore_configs
#
# Build with the default configurations
#
use_example_configs Azteeg/X5GT
exec_test $1 $2 "Azteeg X5GT Example Config"
exec_test $1 $2 "Azteeg X5GT Example Configuration"

restore_configs
opt_set MOTHERBOARD BOARD_SMOOTHIEBOARD
Expand Down
3 changes: 3 additions & 0 deletions buildroot/share/tests/STM32F1-tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# exit on first failure
set -e

#
# Build with the default configurations
#
restore_configs
opt_set MOTHERBOARD BOARD_STM32F1R
opt_set EXTRUDERS 2
Expand Down
16 changes: 16 additions & 0 deletions buildroot/share/tests/STM32F4-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 18 additions & 0 deletions buildroot/share/tests/STM32F7-tests
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions buildroot/share/tests/adafruit_grandcentral_m4-tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# exit on first failure
set -e

#
# Build with the default configurations
#
restore_configs
opt_set MOTHERBOARD BOARD_AGCM4_RURAMPS4D_13
exec_test $1 $2 "Build Grand Central M4 Default Configuration"
Expand Down
17 changes: 17 additions & 0 deletions buildroot/share/tests/at90usb1286_cdc-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 17 additions & 0 deletions buildroot/share/tests/at90usb1286_dfu-tests
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions buildroot/share/tests/esp32-tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# exit on first failure
set -e

#
# Build with the default configurations
#
restore_configs
opt_set MOTHERBOARD BOARD_ESP32
opt_enable WIFISUPPORT GCODE_MACROS BAUD_RATE_GCODE
Expand Down
16 changes: 16 additions & 0 deletions buildroot/share/tests/fysetc_STM32F1-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 17 additions & 0 deletions buildroot/share/tests/fysetc_f6_13-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions buildroot/share/tests/jgaurora_a5s_a1-tests
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions buildroot/share/tests/linux_native-tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# exit on first failure
set -e

#
# Build with the default configurations
#
restore_configs
opt_set MOTHERBOARD BOARD_LINUX_RAMPS
opt_set TEMP_SENSOR_BED 1
Expand Down
13 changes: 13 additions & 0 deletions buildroot/share/tests/malyanm200-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions buildroot/share/tests/megaatmega1280-tests
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion buildroot/share/tests/megaatmega2560-tests
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Build tests for AVR
# Build tests for AVR ATmega2560
#

# exit on first failure
Expand Down
13 changes: 13 additions & 0 deletions buildroot/share/tests/mks_robin-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 17 additions & 0 deletions buildroot/share/tests/mks_robin_lite-tests
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions buildroot/share/tests/mks_robin_mini-tests
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 9449201

Please sign in to comment.