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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. dist: trusty
  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. addons:
  23. apt:
  24. sources:
  25. - ubuntu-toolchain-r-test
  26. packages:
  27. - g++-7
  28. before_install:
  29. - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
  30. #
  31. # Fetch the tag information for the current branch
  32. - git fetch origin --tags
  33. #
  34. # Publish the buildroot script folder
  35. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
  36. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/share/tests/*
  37. - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${TRAVIS_BUILD_DIR}/buildroot/share/tests/:${PATH}
  38. install:
  39. #- pip install -U platformio
  40. - pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
  41. before_script:
  42. # Update PlatformIO packages
  43. - platformio update
  44. #
  45. # Change current working directory to the build dir
  46. - cd ${TRAVIS_BUILD_DIR}
  47. #
  48. # Generate custom version include
  49. - generate_version ${TRAVIS_BUILD_DIR}/Marlin/src/inc
  50. - cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
  51. #
  52. script:
  53. - run_tests ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}