Skip to content

Commit

Permalink
Merge tag 's200-1.0.0' into Marlin 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rpanfili committed Feb 1, 2020
2 parents ee17051 + c413d84 commit 853f72e
Show file tree
Hide file tree
Showing 119 changed files with 1,075,127 additions and 106 deletions.
56 changes: 56 additions & 0 deletions .travis.yml
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}
Loading

0 comments on commit 853f72e

Please sign in to comment.