docker_test_wrap.sh 539 Bytes
Newer Older
1
2
3
4
5
6
7
8
#!/bin/bash
# Install and test steps on Linux
set -e

# Get needed utilities
MULTIBUILD_DIR=$(dirname "${BASH_SOURCE[0]}")
source $MULTIBUILD_DIR/common_utils.sh

9
10
11
# Change into root directory of repo
cd /io

12
13
14
15
# Configuration for this package in `config.sh`.
# This can overwrite `install_run`' and `install_wheel` (called from
# `install_run`). These are otherwise defined in common_utils.sh.
# `config.sh` must define `run_tests` if using the default `install_run`.
16
17
CONFIG_PATH=${CONFIG_PATH:-config.sh}
source "$CONFIG_PATH"
18

19
install_run