forked from Mirror/wren
Refactor travis script (#754)
This commit is contained in:
25
.travis.sh
25
.travis.sh
@ -3,28 +3,23 @@ set -e
|
|||||||
|
|
||||||
# This build script only builds mac or linux right now, for CI.
|
# This build script only builds mac or linux right now, for CI.
|
||||||
WREN_WD="projects/make"
|
WREN_WD="projects/make"
|
||||||
if [ -n "$WREN_TARGET_MAC" ]
|
if [ -n "$WREN_TARGET_MAC" ]; then
|
||||||
then
|
|
||||||
WREN_WD="projects/make.mac"
|
WREN_WD="projects/make.mac"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
WREN_PY="python3"
|
WREN_PY=${WREN_PY_BINARY:-python3}
|
||||||
if [ -n "$WREN_PY_BINARY" ]
|
|
||||||
then
|
|
||||||
WREN_PY="$WREN_PY_BINARY"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "using working directory '$WREN_WD' ..."
|
echo "using working directory '$WREN_WD' ..."
|
||||||
echo "using python binary '$WREN_PY' ..."
|
echo "using python binary '$WREN_PY' ..."
|
||||||
|
|
||||||
cd "$WREN_WD" && make config=debug_64bit-no-nan-tagging
|
make -C $WREN_WD config=debug_64bit-no-nan-tagging
|
||||||
cd ../../ && $WREN_PY ./util/test.py --suffix=_d
|
$WREN_PY ./util/test.py --suffix=_d
|
||||||
|
|
||||||
cd "$WREN_WD" && make config=debug_64bit
|
make -C $WREN_WD config=debug_64bit
|
||||||
cd ../../ && $WREN_PY ./util/test.py --suffix=_d
|
$WREN_PY ./util/test.py --suffix=_d
|
||||||
|
|
||||||
cd "$WREN_WD" && make config=release_64bit-no-nan-tagging
|
make -C $WREN_WD config=release_64bit-no-nan-tagging
|
||||||
cd ../../ && $WREN_PY ./util/test.py
|
$WREN_PY ./util/test.py
|
||||||
|
|
||||||
cd "$WREN_WD" && make config=release_64bit
|
make -C $WREN_WD config=release_64bit
|
||||||
cd ../../ && $WREN_PY ./util/test.py
|
$WREN_PY ./util/test.py
|
||||||
|
|||||||
Reference in New Issue
Block a user