.travis.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. sudo: false
  2. language: python
  3. os:
  4. - linux
  5. git:
  6. depth: false
  7. before_install:
  8. - git submodule update --init --recursive
  9. stages:
  10. - build
  11. - deploy
  12. jobs:
  13. include:
  14. - name: "Build Arduino 0"
  15. if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
  16. stage: build
  17. script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 0 10
  18. - name: "Build Arduino 1"
  19. if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
  20. stage: build
  21. script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 1 10
  22. - name: "Build Arduino 2"
  23. if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
  24. stage: build
  25. script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 2 10
  26. - name: "Build Arduino 3"
  27. if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
  28. stage: build
  29. script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 3 10
  30. - name: "Build PlatformIO"
  31. if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
  32. stage: build
  33. script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 1 1
  34. notifications:
  35. email:
  36. on_success: change
  37. on_failure: change
  38. webhooks:
  39. urls:
  40. - https://webhooks.gitter.im/e/cb057279c430d91a47a8
  41. on_success: change # options: [always|never|change] default: always
  42. on_failure: always # options: [always|never|change] default: always
  43. on_start: never # options: [always|never|change] default: always