aboutsummaryrefslogtreecommitdiff
path: root/config.sh
blob: 914c682b2e968008dcee10f76026bc881ccbe8dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Define custom utilities
# Test for OSX with [ -n "$IS_OSX" ]

function pre_build {
    # Any stuff that you need to do before you start building the wheels
    # Runs in the root directory of this repository.
    pwd
    ls
    cd protobuf/python
}

function run_tests {
    # Runs tests on installed distribution from an empty directory
    python --version
    python -c "import sys; import astropy; sys.exit(astropy.test(remote_data='none'))"
}