8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db89201 commit 52910e7Copy full SHA for 52910e7
build_tools/circle/build_test_pypy.sh
@@ -2,6 +2,27 @@
2
set -x
3
set -e
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
14
+ echo BUILD: [pypy build] marker found
15
16
17
+ echo SKIP: no pypy marker found
18
19
+}
20
+build_type=$(get_build_type)
21
+if [[ "$build_type" =~ ^SKIP ]]
22
+then
23
+ exit 0
24
+fi
25
+
26
# System build tools
27
apt-get -yq update
28
apt-get -yq install wget bzip2 build-essential ccache
0 commit comments