diff options
-rw-r--r-- | config.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config.sh b/config.sh new file mode 100644 index 00000000..08f1dbc2 --- /dev/null +++ b/config.sh @@ -0,0 +1,17 @@ +# 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. + : +} + +function run_tests { + # Runs tests on installed distribution from an empty directory + ASTROPY_INSTALL_DIR=$(dirname $(python -c 'import astropy; print(astropy.__file__)')) + + # Runs tests on installed distribution from an empty directory + python --version + python -c "import sys; import astropy; sys.exit(astropy.test(remote_data='none'))" +} |