2017-01-28 12:09:20 +01:00
|
|
|
sudo: false
|
2017-01-28 17:15:46 +01:00
|
|
|
|
|
|
|
language: python
|
|
|
|
|
2017-01-28 12:09:20 +01:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2018-11-28 13:15:49 +01:00
|
|
|
git:
|
|
|
|
depth: false
|
|
|
|
|
2019-08-21 00:56:05 +02:00
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- deploy
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
|
|
|
|
- name: "Build Arduino 0"
|
|
|
|
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
|
|
|
|
stage: build
|
2019-10-01 09:44:04 +02:00
|
|
|
script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 0 10
|
2019-08-21 00:56:05 +02:00
|
|
|
|
|
|
|
- name: "Build Arduino 1"
|
|
|
|
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
|
|
|
|
stage: build
|
2019-10-01 09:44:04 +02:00
|
|
|
script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 1 10
|
2019-08-21 00:56:05 +02:00
|
|
|
|
|
|
|
- name: "Build Arduino 2"
|
|
|
|
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
|
|
|
|
stage: build
|
2019-10-01 09:44:04 +02:00
|
|
|
script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 2 10
|
2019-08-21 00:56:05 +02:00
|
|
|
|
|
|
|
- name: "Build Arduino 3"
|
|
|
|
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
|
|
|
|
stage: build
|
2019-10-01 09:44:04 +02:00
|
|
|
script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 3 10
|
2019-08-21 00:56:05 +02:00
|
|
|
|
|
|
|
- name: "Build PlatformIO"
|
|
|
|
if: tag IS blank AND (type = pull_request OR (type = push AND branch = master))
|
|
|
|
stage: build
|
2019-10-01 09:44:04 +02:00
|
|
|
script: $TRAVIS_BUILD_DIR/.github/scripts/on-push.sh 1 1
|
2018-06-27 09:01:06 +02:00
|
|
|
|
2017-01-28 12:09:20 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
|
|
|
webhooks:
|
|
|
|
urls:
|
2018-06-27 09:01:06 +02:00
|
|
|
- https://webhooks.gitter.im/e/cb057279c430d91a47a8
|
2017-01-28 12:09:20 +01:00
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
2018-06-27 09:01:06 +02:00
|
|
|
on_start: never # options: [always|never|change] default: always
|