You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DevOps-Bash-tools/shippable.yml

57 lines
1.7 KiB
YAML

#
# Author: Hari Sekhon
# Date: 2020-02-23 23:20:54 +0000 (Sun, 23 Feb 2020)
#
# vim:ts=4:sts=4:sw=4:et
#
# https://github.com/harisekhon/bash-tools
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/harisekhon
#
# http://docs.shippable.com/platform/workflow/config/
# Language setting http://docs.shippable.com/ci/languages/node/
language: none
# use this to control what branches get built.
# http://docs.shippable.com/ci/advancedOptions/branches/
branches:
only:
- master
# using pre-defined build variables
# full list http://docs.shippable.com/ci/advancedOptions/environmentVariables/
#env:
# global:
# - TEST_RESULTS_DIR=$SHIPPABLE_REPO_DIR/shippable/testresults
# - CODE_COVERAGE_DIR=$SHIPPABLE_REPO_DIR/shippable/codecoverage
# - TESTS_LOC_DIR=$SHIPPABLE_REPO_DIR/tests
# - MOD_LOC=$SHIPPABLE_REPO_DIR/node_modules/.bin/
build:
# http://docs.shippable.com/ci/shippableyml/#ci
ci:
# npm mirrors can sometimes be flacky, better to use shippable_retry
# http://docs.shippable.com/ci/advancedOptions/retry/
- shippable_retry make
- make test
# Integrations are used to connect external resources to CI
# http://docs.shippable.com/integrations/overview/
integrations:
# http://docs.shippable.com/ci/shippableyml/#notifications
notifications:
# turning of email for PR builds, get notified only on failure and change in status
# http://docs.shippable.com/integrations/notifications/email/
- integrationName: email
type: email
on_success: never
on_failure: never
on_pull_request: never