travis_steps.sh 619 Bytes
Newer Older
1
#!/bin/bash
2
3
4
# Update submodules
git submodule update --init --recursive

5
WHEELHOUSE=$PWD/wheelhouse
6
7
8

MULTIBUILD_DIR=$(dirname "${BASH_SOURCE[0]}")

9
if [ ! -d "$WHEELHOUSE" ]; then mkdir $WHEELHOUSE; fi
10
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
11
    source $MULTIBUILD_DIR/travis_osx_steps.sh
12
else
13
    source $MULTIBUILD_DIR/travis_linux_steps.sh
14
15
16
17
18
fi

if [ -z "$REPO_DIR$PKG_SPEC" ]; then
    echo "Must specify REPO_DIR or PKG_SPEC"
    exit 1
19
20
21
22
fi

function install_wheel {
    if [ -n "$TEST_DEPENDS" ]; then pip install $TEST_DEPENDS; fi
23
    pip install $(python $MULTIBUILD_DIR/supported_wheels.py $WHEELHOUSE/*.whl)
24
}