File tree 2 files changed +23
-4
lines changed 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -148,10 +148,8 @@ workflows:
148
148
requires :
149
149
- lint
150
150
- pypy3 :
151
- filters :
152
- branches :
153
- only :
154
- - 0.20.X
151
+ requires :
152
+ - lint
155
153
- deploy :
156
154
requires :
157
155
- doc
Original file line number Diff line number Diff line change 2
2
set -x
3
3
set -e
4
4
5
+ get_build_type () {
6
+ if [ -z " $CIRCLE_SHA1 " ]
7
+ then
8
+ echo SKIP: undefined CIRCLE_SHA1
9
+ return
10
+ fi
11
+ commit_msg=$( git log --format=%B -n 1 $CIRCLE_SHA1 )
12
+ if [[ " $commit_msg " =~ \[ pypy\ build\] ]]
13
+ then
14
+ echo BUILD: [pypy build] marker found
15
+ return
16
+ fi
17
+ echo SKIP: no pypy marker found
18
+ return
19
+ }
20
+ build_type=$( get_build_type)
21
+ if [[ " $build_type " =~ ^SKIP ]]
22
+ then
23
+ exit 0
24
+ fi
25
+
5
26
# System build tools
6
27
apt-get -yq update
7
28
apt-get -yq install wget bzip2 build-essential ccache
You can’t perform that action at this time.
0 commit comments