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

Skip to content

Commit 7caf5cc

Browse files
committed
add new tag [pypy build]
1 parent db89201 commit 7caf5cc

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,8 @@ workflows:
148148
requires:
149149
- lint
150150
- pypy3:
151-
filters:
152-
branches:
153-
only:
154-
- 0.20.X
151+
requires:
152+
- lint
155153
- deploy:
156154
requires:
157155
- doc

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