2019-07-18 00:12:40 +00:00
|
|
|
dist: bionic
|
|
|
|
sudo: false
|
2017-08-03 12:12:31 +00:00
|
|
|
|
2017-07-19 20:34:30 +00:00
|
|
|
language: python
|
|
|
|
python:
|
2019-07-12 10:59:14 +00:00
|
|
|
- "3.7"
|
2017-07-19 20:34:30 +00:00
|
|
|
|
2016-07-19 00:45:13 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2017-07-19 20:34:30 +00:00
|
|
|
|
|
|
|
env:
|
2019-09-03 00:49:58 +00:00
|
|
|
# Base Environments
|
2018-07-14 04:42:15 +00:00
|
|
|
- TEST_PLATFORM="DUE"
|
2019-08-19 04:29:59 +00:00
|
|
|
- TEST_PLATFORM="esp32"
|
|
|
|
- TEST_PLATFORM="linux_native"
|
|
|
|
- TEST_PLATFORM="megaatmega2560"
|
2019-09-29 07:04:53 +00:00
|
|
|
- TEST_PLATFORM="STM32F103RE"
|
2019-09-03 00:49:58 +00: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"
|
|
|
|
|
2019-10-26 19:41:34 +00:00
|
|
|
# Broken Extended STM32 Environments
|
|
|
|
#- TEST_PLATFORM="ARMED"
|
|
|
|
#- TEST_PLATFORM="BIGTREE_BTT002"
|
|
|
|
#- TEST_PLATFORM="BIGTREE_SKR_PRO"
|
|
|
|
|
2019-09-03 00:49:58 +00:00
|
|
|
# Extended STM32 Environments
|
2019-09-29 07:04:53 +00:00
|
|
|
- TEST_PLATFORM="STM32F103RC_bigtree"
|
2019-09-03 00:49:58 +00:00
|
|
|
- TEST_PLATFORM="jgaurora_a5s_a1"
|
2019-09-29 07:04:53 +00:00
|
|
|
- TEST_PLATFORM="STM32F103VE_longer"
|
2019-09-03 00:49:58 +00:00
|
|
|
- TEST_PLATFORM="STM32F407VE_black"
|
2019-10-13 22:34:31 +00:00
|
|
|
- TEST_PLATFORM="mks_robin"
|
2019-09-03 00:49:58 +00:00
|
|
|
|
2019-10-08 00:41:00 +00:00
|
|
|
# Put lengthy tests last
|
|
|
|
- TEST_PLATFORM="LPC1768"
|
|
|
|
- TEST_PLATFORM="LPC1769"
|
|
|
|
|
2019-09-03 00:49:58 +00:00
|
|
|
# Non-working environment tests
|
|
|
|
#- TEST_PLATFORM="at90usb1286_cdc"
|
|
|
|
#- TEST_PLATFORM="at90usb1286_dfu"
|
2019-09-29 07:04:53 +00:00
|
|
|
#- TEST_PLATFORM="STM32F103CB_malyan"
|
2019-08-19 04:29:59 +00:00
|
|
|
#- TEST_PLATFORM="mks_robin_lite"
|
|
|
|
#- TEST_PLATFORM="mks_robin_mini"
|
|
|
|
#- TEST_PLATFORM="mks_robin_nano"
|
2019-09-15 19:17:20 +00:00
|
|
|
#- TEST_PLATFORM="SAMD51_grandcentral_m4"
|
2019-09-29 07:04:53 +00:00
|
|
|
#- TEST_PLATFORM="STM32F103RC_bigtree"
|
|
|
|
#- TEST_PLATFORM="STM32F103RC_bigtree_USB"
|
|
|
|
#- TEST_PLATFORM="STM32F103RC_fysetc"
|
2019-08-19 04:29:59 +00:00
|
|
|
#- TEST_PLATFORM="STM32F4"
|
|
|
|
#- TEST_PLATFORM="STM32F7"
|
2019-02-23 01:09:10 +00:00
|
|
|
|
2015-01-03 11:43:40 +00:00
|
|
|
before_install:
|
2016-05-10 00:45:42 +00:00
|
|
|
#
|
2016-05-20 01:30:03 +00:00
|
|
|
# Fetch the tag information for the current branch
|
2015-06-08 12:44:49 +00:00
|
|
|
- git fetch origin --tags
|
2016-05-10 00:45:42 +00:00
|
|
|
#
|
|
|
|
# Publish the buildroot script folder
|
|
|
|
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
|
2018-07-14 04:42:15 +00:00
|
|
|
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/share/tests/*
|
2018-11-19 01:58:02 +00:00
|
|
|
- export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${TRAVIS_BUILD_DIR}/buildroot/share/tests/:${PATH}
|
2017-07-11 20:59:27 +00:00
|
|
|
|
2017-07-19 20:34:30 +00:00
|
|
|
install:
|
2018-01-10 11:01:00 +00:00
|
|
|
#- pip install -U platformio
|
2019-05-05 02:33:36 +00:00
|
|
|
- pip install -U https://github.com/platformio/platformio-core/archive/master.zip
|
2017-07-11 20:59:27 +00:00
|
|
|
|
2015-01-03 11:43:40 +00:00
|
|
|
before_script:
|
2018-01-10 00:32:22 +00:00
|
|
|
# Update PlatformIO packages
|
|
|
|
- platformio update
|
2016-05-10 00:45:42 +00:00
|
|
|
#
|
|
|
|
# Change current working directory to the build dir
|
|
|
|
- cd ${TRAVIS_BUILD_DIR}
|
2016-04-01 04:01:55 +00:00
|
|
|
#
|
2016-05-20 01:30:03 +00:00
|
|
|
# Generate custom version include
|
2019-10-15 17:32:44 +00:00
|
|
|
- generate_version ${TRAVIS_BUILD_DIR}/Marlin/
|
|
|
|
- cat ${TRAVIS_BUILD_DIR}/Marlin/Version.h
|
2016-05-20 01:30:03 +00:00
|
|
|
#
|
2015-01-03 11:43:40 +00:00
|
|
|
script:
|
2018-10-09 04:03:53 +00:00
|
|
|
- run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|