This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Marlin-Artillery-M600/.travis.yml

63 lines
1.4 KiB
YAML
Raw Normal View History

dist: trusty
2019-02-23 02:09:10 +01:00
sudo: require
language: python
python:
- "2.7"
notifications:
email: false
# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
2017-09-06 13:28:32 +02:00
cache:
pip: true
directories:
- "~/.platformio"
env:
- TEST_PLATFORM="megaatmega2560"
- TEST_PLATFORM="DUE"
2018-10-09 06:03:53 +02:00
- TEST_PLATFORM="LPC1768"
2019-02-21 07:54:05 +01:00
- TEST_PLATFORM="LPC1769"
2019-05-12 01:10:40 +02:00
- TEST_PLATFORM="STM32F1"
- TEST_PLATFORM="teensy35"
2019-02-23 02:09:10 +01:00
- TEST_PLATFORM="linux_native"
2019-03-13 06:48:08 +01:00
- TEST_PLATFORM="esp32"
2019-02-23 02:09:10 +01:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
before_install:
2019-02-23 02:09:10 +01:00
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
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/src/inc
2017-09-06 13:28:32 +02:00
- cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
#
script:
2018-10-09 06:03:53 +02:00
- run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}