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