trigger checks in alire-crates-ci

This commit is contained in:
Alejandro R. Mosteo
2019-05-16 17:59:55 +02:00
parent 64188f7458
commit 22f547412a
+34
View File
@@ -0,0 +1,34 @@
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