2019-08-31 07:34:56 +00:00
|
|
|
sudo: false
|
|
|
|
language: python
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2019-10-28 06:32:16 +00:00
|
|
|
git:
|
|
|
|
depth: false
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
|
|
|
|
- name: "Arduino Build"
|
|
|
|
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
|
|
|
|
stage: build
|
|
|
|
script: bash $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh
|
2019-08-31 07:34:56 +00:00
|
|
|
|
2019-10-28 06:32:16 +00:00
|
|
|
- name: "PlatformIO Build"
|
|
|
|
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
|
|
|
|
stage: build
|
|
|
|
script: bash $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 1 1
|
2019-08-31 07:34:56 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/60e65d0c78ea0a920347
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
2019-10-28 06:32:16 +00:00
|
|
|
on_start: false # default: false
|