# Language setting http://docs.shippable.com/ci/languages/node/ language: python python: - 3.6 # use this to control what branches get built. # http://docs.shippable.com/ci/advancedOptions/branches/ branches: only: - master - v*.* env: global: - secure: x0+gSTZx9QXVhhnEu+7iRXBEE0O/nGTXAvSJVgc+wx/qPocyB2CQqAf7+UTq3jGsrcdZYKGe8MCgxFOmT2abcv8TQn02LT9LQVsSBo9I72U4tisJcpcbFad4XkjwUXHOMZfndubGgy58GfDTNl/x1v7DB/Olhwu6nlJRYnedj22l8kdEKBpabMmrnogrWesoKKpYbkhR9Vi3XHeZ3FA5hu14wbhq8A2jpcGqh35bDpViAL7f447nPdn20SAFGOrqF3yC/Ws8keG0ChQ2IhQ4cx/ucpGmswUw+ZLJEUCQL0ZlUgkXAAUVeAUAMMywE+yWYLnfDRqnVshRdb6+lHz6VA== build: pre_ci_boot: options: "-v /root/src:/root/src" # http://docs.shippable.com/ci/shippableyml/#ci ci: - curl -sSL -o /tmp/bats_v0.4.0.tar.gz https://github.com/sstephenson/bats/archive/v0.4.0.tar.gz - tar -xf /tmp/bats_v0.4.0.tar.gz - sudo bats-0.4.0/install.sh /usr/local - pwd - ls -l - docker run -v "$(pwd)":/mnt nlknguyen/alpine-shellcheck bin/*.sh - ./scripts/docker.sh build - ./scripts/docker.sh test on_success: - echo $BRANCH - echo $IS_PULL_REQUEST - if [ "$BRANCH" == "master" ] && [ "$IS_PULL_REQUEST" == false ]; then curl -X POST -d '{"from":"shippable"}' "$DOCKER_REBUILD_URL"; fi # 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: change on_failure: change on_pull_request: never