1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00
MarlinFirmware/.travis.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

dist: bionic
sudo: false
language: python
python:
- "3.7"
notifications:
email: false
env:
- TEST_PLATFORM="megaatmega2560"
- TEST_PLATFORM="DUE"
2018-10-09 04:03:53 +00:00
- TEST_PLATFORM="LPC1768"
2019-02-21 06:54:05 +00:00
- TEST_PLATFORM="LPC1769"
2019-05-11 23:10:40 +00:00
- TEST_PLATFORM="STM32F1"
- TEST_PLATFORM="teensy35"
2019-02-23 01:09:10 +00:00
- TEST_PLATFORM="linux_native"
2019-03-13 05:48:08 +00:00
- TEST_PLATFORM="esp32"
- TEST_PLATFORM="alfawise_U20"
- TEST_PLATFORM="black_stm32f407ve"
2019-07-28 19:48:29 +00:00
- TEST_PLATFORM="adafruit_grandcentral_m4"
2019-02-23 01:09:10 +00:00
before_install:
2016-05-10 00:45:42 +00:00
#
# Fetch the tag information for the current branch
- git fetch origin --tags
2016-05-10 00:45:42 +00: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 11:01:00 +00: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 00:45:42 +00:00
#
# Change current working directory to the build dir
- cd ${TRAVIS_BUILD_DIR}
#
# Generate custom version include
- generate_version ${TRAVIS_BUILD_DIR}/Marlin/src/inc
2017-09-06 11:28:32 +00:00
- cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
#
script:
2018-10-09 04:03:53 +00:00
- run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}