My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 1.5KB

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