travis_steps.sh 578 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
10
if [ !-d $WHEELHOUSE ]; then mkdir wheelhouse; fi
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
11
    source $MULTIBUILD_DIR/travis_osx_steps.sh
12
    whl_tail="*.whl"
13
else
14
15
16
    source $MULTIBUILD_DIR/travis_linux_steps.sh
    # Selects narrow build on Python 2.7
    whl_tail="*m-manylinux1_x86_64.whl"
17
18
19
20
fi

function install_wheel {
    if [ -n "$TEST_DEPENDS" ]; then pip install $TEST_DEPENDS; fi
21
    pip install $WHEELHOUSE/$whl_tail
22
}