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