test_multibuild.sh 1.01 KB
Newer Older
1
# Test multibuild utilities
Ivan Pozdeev's avatar
Ivan Pozdeev committed
2
3
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
set -x
4
5
6
7
source common_utils.sh
source tests/utils.sh

source tests/test_common_utils.sh
8
source tests/test_fill_submodule.sh
9
10
11
12
13
if [ -n "$IS_OSX" ]; then
    source osx_utils.sh
    get_macpython_environment $PYTHON_VERSION $VENV
    source tests/test_python_install.sh
    source tests/test_fill_pyver.sh
14
    source tests/test_fill_pypy_ver.sh
15
16
17
18
19
    source tests/test_osx_utils.sh
else
    source manylinux_utils.sh
    source tests/test_manylinux_utils.sh
fi
20
if [ -n "$TEST_BUILDS" ]; then
21
22
23
24
    if [ -n "$IS_OSX" ]; then
        source tests/test_library_builders.sh
    elif [ ! -x "$(command -v docker)" ]; then
        echo "Skipping build tests; no docker available"
25
26
27
    else
        touch config.sh
        source travis_linux_steps.sh
28
        build_multilinux $PLAT "source tests/test_library_builders.sh"
29
    fi
30
fi
31

32
33
source tests/test_supported_wheels.sh

34
35
# Exit 1 if any test errors
barf
Ivan Pozdeev's avatar
Ivan Pozdeev committed
36
37
# Don't need Travis' machinery trace
set +x