Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit 203d169

Browse files
author
hanhxiao
committed
ci(chore): exclude chore job from ci pipeline
1 parent 6407cc8 commit 203d169

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.drone.yml

+12
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ steps:
2323
- npm install --global --save-dev @commitlint/config-conventional @commitlint/cli
2424
- "echo \"module.exports = {extends: ['@commitlint/config-conventional']}\" > commitlint.config.js"
2525
- echo $DRONE_COMMIT_MESSAGE | commitlint
26+
when:
27+
branch:
28+
exclude:
29+
- chore-bumping-version
2630

2731
- name: setup ci environment
2832
image: gnes/ci-base
@@ -33,6 +37,10 @@ steps:
3337
- cat /proc/cpuinfo | grep flags
3438
- "python -c 'import tensorflow as tf; print(tf.__version__); a=tf.constant(1, tf.int32); print(tf.Session().run(a))'"
3539
- nvcc --version
40+
when:
41+
branch:
42+
exclude:
43+
- chore-bumping-version
3644

3745
- name: install gnes and unit test
3846
image: gnes/ci-base
@@ -45,6 +53,10 @@ steps:
4553
- "python -c 'import torchvision; print(torchvision.__version__)'"
4654
- "python -c 'import torch; print(torch.__version__)'"
4755
- python -m unittest tests/*.py -v
56+
when:
57+
branch:
58+
exclude:
59+
- chore-bumping-version
4860

4961

5062
- name: notify the sucess on wechat work

0 commit comments

Comments
 (0)