2019-07-17 20:12:40 -04:00
|
|
|
dist: bionic
|
|
|
|
sudo: false
|
2017-08-03 08:12:31 -04:00
|
|
|
|
2017-07-19 16:34:30 -04:00
|
|
|
language: python
|
|
|
|
python:
|
2019-07-12 06:59:14 -04:00
|
|
|
- "3.7"
|
2017-07-19 16:34:30 -04:00
|
|
|
|
2016-07-18 20:45:13 -04:00
|
|
|
notifications:
|
|
|
|
email: false
|
2017-07-19 16:34:30 -04:00
|
|
|
|
|
|
|
env:
|
2018-07-14 00:42:15 -04:00
|
|
|
- TEST_PLATFORM="megaatmega2560"
|
|
|
|
- TEST_PLATFORM="DUE"
|
2018-10-09 00:03:53 -04:00
|
|
|
- TEST_PLATFORM="LPC1768"
|
2019-02-21 01:54:05 -05:00
|
|
|
- TEST_PLATFORM="LPC1769"
|
2019-05-11 19:10:40 -04:00
|
|
|
- TEST_PLATFORM="STM32F1"
|
2018-07-14 00:42:15 -04:00
|
|
|
- TEST_PLATFORM="teensy35"
|
2019-02-22 20:09:10 -05:00
|
|
|
- TEST_PLATFORM="linux_native"
|
2019-03-13 01:48:08 -04:00
|
|
|
- TEST_PLATFORM="esp32"
|
2019-07-14 19:05:24 -04:00
|
|
|
- TEST_PLATFORM="alfawise_U20"
|
2019-07-18 23:38:03 -04:00
|
|
|
- TEST_PLATFORM="black_stm32f407ve"
|
2019-02-22 20:09:10 -05:00
|
|
|
|
2015-01-03 06:43:40 -05:00
|
|
|
before_install:
|
2016-05-09 20:45:42 -04:00
|
|
|
#
|
2016-05-19 21:30:03 -04:00
|
|
|
# Fetch the tag information for the current branch
|
2015-06-08 08:44:49 -04:00
|
|
|
- git fetch origin --tags
|
2016-05-09 20:45:42 -04:00
|
|
|
#
|
|
|
|
# Publish the buildroot script folder
|
|
|
|
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
|
2018-07-14 00:42:15 -04:00
|
|
|
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/share/tests/*
|
2018-11-18 20:58:02 -05:00
|
|
|
- export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${TRAVIS_BUILD_DIR}/buildroot/share/tests/:${PATH}
|
2017-07-11 16:59:27 -04:00
|
|
|
|
2017-07-19 16:34:30 -04:00
|
|
|
install:
|
2018-01-10 06:01:00 -05:00
|
|
|
#- pip install -U platformio
|
2019-05-04 22:33:36 -04:00
|
|
|
- pip install -U https://github.com/platformio/platformio-core/archive/master.zip
|
2017-07-11 16:59:27 -04:00
|
|
|
|
2015-01-03 06:43:40 -05:00
|
|
|
before_script:
|
2018-01-09 19:32:22 -05:00
|
|
|
# Update PlatformIO packages
|
|
|
|
- platformio update
|
2016-05-09 20:45:42 -04:00
|
|
|
#
|
|
|
|
# Change current working directory to the build dir
|
|
|
|
- cd ${TRAVIS_BUILD_DIR}
|
2016-04-01 00:01:55 -04:00
|
|
|
#
|
2016-05-19 21:30:03 -04:00
|
|
|
# Generate custom version include
|
2018-09-02 04:27:39 -04:00
|
|
|
- generate_version ${TRAVIS_BUILD_DIR}/Marlin/src/inc
|
2017-09-06 07:28:32 -04:00
|
|
|
- cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
|
2016-05-19 21:30:03 -04:00
|
|
|
#
|
2015-01-03 06:43:40 -05:00
|
|
|
script:
|
2018-10-09 00:03:53 -04:00
|
|
|
- run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|