Files
alire-index-community/shippable.yml
T
2019-05-16 18:04:23 +02:00

35 lines
873 B
YAML

language: none # Ada
integrations:
notifications:
- integrationName: email
type: email
on_success: change
on_failure: change
on_cancel: never
branches:
only:
- master
- stable
build:
ci:
- shipctl put_resource_state branchInfo branch "none"; fi
- if [ "$BRANCH" == "master" ] && [ "$IS_PULL_REQUEST" == false ]; then shipctl put_resource_state branchInfo BRANCH $BRANCH; fi
- if [ "$BRANCH" == "stable" ] && [ "$IS_PULL_REQUEST" == false ]; then shipctl put_resource_state branchInfo BRANCH $BRANCH; fi
# Already defined in alire.git:
# resources:
# - name: branchInfo
# type: params
# versionTemplate:
# params:
# BRANCH: "none"
jobs:
- name: alire-index_runCI
type: runCI
steps:
- OUT: branchInfo