From 203d1697a5a670f0957a5ca3cc3dc6e79dbc7c0b Mon Sep 17 00:00:00 2001 From: hanhxiao Date: Wed, 7 Aug 2019 12:07:15 +0800 Subject: [PATCH] ci(chore): exclude chore job from ci pipeline --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 47bd25a1..f578609a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,6 +23,10 @@ steps: - npm install --global --save-dev @commitlint/config-conventional @commitlint/cli - "echo \"module.exports = {extends: ['@commitlint/config-conventional']}\" > commitlint.config.js" - echo $DRONE_COMMIT_MESSAGE | commitlint + when: + branch: + exclude: + - chore-bumping-version - name: setup ci environment image: gnes/ci-base @@ -33,6 +37,10 @@ steps: - cat /proc/cpuinfo | grep flags - "python -c 'import tensorflow as tf; print(tf.__version__); a=tf.constant(1, tf.int32); print(tf.Session().run(a))'" - nvcc --version + when: + branch: + exclude: + - chore-bumping-version - name: install gnes and unit test image: gnes/ci-base @@ -45,6 +53,10 @@ steps: - "python -c 'import torchvision; print(torchvision.__version__)'" - "python -c 'import torch; print(torch.__version__)'" - python -m unittest tests/*.py -v + when: + branch: + exclude: + - chore-bumping-version - name: notify the sucess on wechat work