Marlin/.travis.yml

83 lines
2.2 KiB
YAML
Raw Normal View History

dist: bionic
sudo: false
language: python
python:
- "3.7"
notifications:
email: false
env:
2019-09-03 02:49:58 +02:00
# Base Environments
- TEST_PLATFORM="DUE"
2019-08-19 06:29:59 +02:00
- TEST_PLATFORM="esp32"
- TEST_PLATFORM="linux_native"
- TEST_PLATFORM="megaatmega2560"
- TEST_PLATFORM="STM32F103RE"
2019-09-03 02:49:58 +02:00
- TEST_PLATFORM="teensy31"
- TEST_PLATFORM="teensy35"
# Extended AVR Environments
- TEST_PLATFORM="fysetc_f6_13"
- TEST_PLATFORM="megaatmega1280"
- TEST_PLATFORM="rambo"
- TEST_PLATFORM="sanguino_atmega1284p"
- TEST_PLATFORM="sanguino_atmega644p"
# Extended STM32 Environments
- TEST_PLATFORM="ARMED"
- TEST_PLATFORM="BIGTREE_BTT002"
- TEST_PLATFORM="BIGTREE_SKR_PRO"
- TEST_PLATFORM="STM32F103RC_bigtree"
2019-09-03 02:49:58 +02:00
- TEST_PLATFORM="jgaurora_a5s_a1"
- TEST_PLATFORM="STM32F103VE_longer"
2019-09-03 02:49:58 +02:00
- TEST_PLATFORM="STM32F407VE_black"
- TEST_PLATFORM="mks_robin"
2019-09-03 02:49:58 +02:00
2019-10-08 02:41:00 +02:00
# Put lengthy tests last
- TEST_PLATFORM="LPC1768"
- TEST_PLATFORM="LPC1769"
2019-09-03 02:49:58 +02:00
# Non-working environment tests
#- TEST_PLATFORM="at90usb1286_cdc"
#- TEST_PLATFORM="at90usb1286_dfu"
#- TEST_PLATFORM="STM32F103CB_malyan"
2019-08-19 06:29:59 +02:00
#- TEST_PLATFORM="mks_robin_lite"
#- TEST_PLATFORM="mks_robin_mini"
#- TEST_PLATFORM="mks_robin_nano"
2019-09-15 21:17:20 +02:00
#- TEST_PLATFORM="SAMD51_grandcentral_m4"
#- TEST_PLATFORM="STM32F103RC_bigtree"
#- TEST_PLATFORM="STM32F103RC_bigtree_USB"
#- TEST_PLATFORM="STM32F103RC_fysetc"
2019-08-19 06:29:59 +02:00
#- TEST_PLATFORM="STM32F4"
#- TEST_PLATFORM="STM32F7"
2019-02-23 02:09:10 +01:00
before_install:
2016-05-10 02:45:42 +02:00
#
# Fetch the tag information for the current branch
- git fetch origin --tags
2016-05-10 02:45:42 +02:00
#
# Publish the buildroot script folder
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/share/tests/*
- export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${TRAVIS_BUILD_DIR}/buildroot/share/tests/:${PATH}
install:
2018-01-10 12:01:00 +01:00
#- pip install -U platformio
- pip install -U https://github.com/platformio/platformio-core/archive/master.zip
before_script:
# Update PlatformIO packages
- platformio update
2016-05-10 02:45:42 +02:00
#
# Change current working directory to the build dir
- cd ${TRAVIS_BUILD_DIR}
#
# Generate custom version include
- generate_version ${TRAVIS_BUILD_DIR}/Marlin/
- cat ${TRAVIS_BUILD_DIR}/Marlin/Version.h
#
script:
2018-10-09 06:03:53 +02:00
- run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}