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

Commit

Permalink
ci(chore): exclude chore job from ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Aug 7, 2019
1 parent 6407cc8 commit 203d169
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 203d169

Please sign in to comment.