8000 add new tag [pypy build] · scikit-learn/scikit-learn@52910e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 52910e7

Browse files
committed
add new tag [pypy build]
1 parent db89201 commit 52910e7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

build_tools/circle/build_test_pypy.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22
set -x
33
set -e
44

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+
526
# System build tools
627
apt-get -yq update
728
apt-get -yq install wget bzip2 build-essential ccache

0 commit comments

Comments
 (0)
0