1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- dist: trusty
- sudo: require
-
- language: python
- python:
- - "2.7"
-
- notifications:
- email: false
-
-
- sudo: false
- cache:
- pip: true
- directories:
- - "~/.platformio"
-
- env:
- - TEST_PLATFORM="megaatmega2560"
- - TEST_PLATFORM="DUE"
- - TEST_PLATFORM="LPC1768"
- - TEST_PLATFORM="LPC1769"
-
- - TEST_PLATFORM="teensy35"
- - TEST_PLATFORM="linux_native"
- - TEST_PLATFORM="esp32"
-
- 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
-
-
- - git fetch origin --tags
-
-
- - 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 https://github.com/platformio/platformio-core/archive/develop.zip
-
- before_script:
-
- - platformio update
-
-
- - cd ${TRAVIS_BUILD_DIR}
-
-
- - 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}
|