@@ -16,7 +16,7 @@ function bdist_wheel_cmd {
16
16
local abs_wheelhouse=$1
17
17
CI_BUILD=1 pip wheel --verbose --wheel-dir=" $PWD /dist" . $BDIST_PARAMS
18
18
cp dist/* .whl $abs_wheelhouse
19
- if [ -z " $IS_OSX " ]; then
19
+ if [ -z " $IS_MACOS " ]; then
20
20
TOOLS_PATH=/opt/_internal/tools
21
21
/opt/python/cp37-cp37m/bin/python -m venv $TOOLS_PATH
22
22
source $TOOLS_PATH /bin/activate
@@ -26,7 +26,7 @@ function bdist_wheel_cmd {
26
26
if [ -n " $USE_CCACHE " -a -z " $BREW_BOOTSTRAP_MODE " ]; then ccache -s; fi
27
27
}
28
28
29
- if [ -n " $IS_OSX " ]; then
29
+ if [ -n " $IS_MACOS " ]; then
30
30
echo " > OSX environment "
31
31
export MAKEFLAGS=" -j$( sysctl -n hw.ncpu) "
32
32
else
35
35
export MAKEFLAGS=" -j$( grep -E ' ^processor[[:space:]]*:' /proc/cpuinfo | wc -l) "
36
36
fi
37
37
38
- if [ -n " $IS_OSX " ]; then
38
+ if [ -n " $IS_MACOS " ]; then
39
39
40
40
source travis_osx_brew_cache.sh
41
41
@@ -92,7 +92,7 @@ function pre_build {
92
92
echo " Starting pre-build"
93
93
set -e -o pipefail
94
94
95
- if [ -n " $IS_OSX " ]; then
95
+ if [ -n " $IS_MACOS " ]; then
96
96
echo " Running for OSX"
97
97
98
98
local CACHE_STAGE; (echo " $TRAVIS_BUILD_STAGE_NAME " | grep -qiF " final" ) || CACHE_STAGE=1
@@ -136,7 +136,7 @@ function run_tests {
136
136
echo " Run tests..."
137
137
echo $PWD
138
138
139
- if [ -n " $IS_OSX " ]; then
139
+ if [ -n " $IS_MACOS " ]; then
140
140
echo " Running for OS X"
141
141
cd ../tests/
142
142
else
0 commit comments