File tree 2 files changed +18
-5
lines changed 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 71
71
- run :
72
72
name : flake8
73
73
command : ./build_tools/circle/flake8_diff.sh
74
+ - run :
75
+ name : check_pypy_marker
76
+ command : ./build_tools/circle/check_pypy_marker.sh
74
77
75
78
pypy3 :
76
79
docker :
@@ -112,11 +115,6 @@ workflows:
112
115
- doc
113
116
- doc-min-dependencies
114
117
- lint
115
- - pypy3 :
116
- filters :
117
- branches :
118
- only :
119
- - 0.20.X
120
118
- deploy :
121
119
requires :
122
120
- doc
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -x
3
+ set -e
4
+
5
+ # Check for pypy marker in the commit message and
6
+ # trigger the job if the marker is present.
7
+
8
+ commit_msg=$( git log --format=%B -n 1 $CIRCLE_SHA1 )
9
+
10
+ if [[ " $commit_msg " =~ " [pypy]" ]]
11
+ then
12
+ curl --user ${CIRCLE_API_USER_TOKEN} \
13
+ --data build_parameters[CIRCLE_JOB]=pypy3 \
14
+ https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME /$CIRCLE_PROJECT_REPONAME /tree/$CIRCLE_BRANCH
15
+ fi
You can’t perform that action at this time.
0 commit comments