forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 's200-1.0.0' into Marlin 2.0.1
- Loading branch information
Showing
119 changed files
with
1,075,127 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
dist: trusty | ||
sudo: require | ||
|
||
language: python | ||
python: | ||
- "2.7" | ||
|
||
notifications: | ||
email: false | ||
|
||
# Cache PlatformIO packages using Travis CI container-based infrastructure | ||
sudo: false | ||
cache: | ||
pip: true | ||
directories: | ||
- "~/.platformio" | ||
|
||
env: | ||
- TEST_PLATFORM="LPC1768" | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-7 | ||
|
||
before_install: | ||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90 | ||
# | ||
# Fetch the tag information for the current branch | ||
- git fetch origin --tags | ||
# | ||
# 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: | ||
#- pip install -U platformio | ||
- pip install -U https://github.com/platformio/platformio-core/archive/master.zip | ||
|
||
# Update PlatformIO packages | ||
- platformio update | ||
|
||
before_script: | ||
# | ||
# Change current working directory to the build dir | ||
- cd ${TRAVIS_BUILD_DIR} | ||
# | ||
# Generate custom version include | ||
- generate_version ${TRAVIS_BUILD_DIR}/Marlin/src/inc | ||
- cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h | ||
# | ||
script: | ||
- run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM} |
Oops, something went wrong.