My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

.travis.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. dist: xenial
  2. sudo: require
  3. language: python
  4. python:
  5. - "2.7"
  6. notifications:
  7. email: false
  8. # Cache PlatformIO packages using Travis CI container-based infrastructure
  9. sudo: false
  10. cache:
  11. pip: true
  12. directories:
  13. - "~/.platformio"
  14. env:
  15. - TEST_PLATFORM="megaatmega2560"
  16. - TEST_PLATFORM="DUE"
  17. - TEST_PLATFORM="LPC1768"
  18. - TEST_PLATFORM="LPC1769"
  19. - TEST_PLATFORM="STM32F1"
  20. - TEST_PLATFORM="teensy35"
  21. - TEST_PLATFORM="linux_native"
  22. - TEST_PLATFORM="esp32"
  23. addons:
  24. apt:
  25. sources:
  26. - ubuntu-toolchain-r-test
  27. packages:
  28. - g++-7
  29. before_install:
  30. - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
  31. #
  32. # Fetch the tag information for the current branch
  33. - git fetch origin --tags
  34. #
  35. # Publish the buildroot script folder
  36. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
  37. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/share/tests/*
  38. - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${TRAVIS_BUILD_DIR}/buildroot/share/tests/:${PATH}
  39. install:
  40. #- pip install -U platformio
  41. - pip install -U https://github.com/platformio/platformio-core/archive/master.zip
  42. before_script:
  43. # Update PlatformIO packages
  44. - platformio update
  45. #
  46. # Change current working directory to the build dir
  47. - cd ${TRAVIS_BUILD_DIR}
  48. #
  49. # Generate custom version include
  50. - generate_version ${TRAVIS_BUILD_DIR}/Marlin/src/inc
  51. - cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
  52. #
  53. script:
  54. - run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}