https://github.com/astropy/astropy
Raw File
Tip revision: 525b95febac57df51506b97267e848f254db8d05 authored by Brigitta Sipocz on 26 January 2018, 00:03:25 UTC
Preparing to release v3.0rc2
Tip revision: 525b95f
.run_docker_tests.sh
#!/bin/bash

docker info

cat << EOF | docker run -i \
                        -v ${PWD}:/astropy_src \
                        -a stdin -a stdout -a stderr \
                        astropy/astropy-py35-32bit-test-env:1.10 \
                        bash || exit $?

cd /astropy_src

echo "Output of uname -m:"
uname -m

echo "Output of sys.maxsize in Python:"
python3 -c 'import sys; print(sys.maxsize)'

# We install pytest-astropy explicitly here because the auto-installation
# of dependencies does not work when using the --parallel option (sub-
# processes don't see the temporarily installed dependencies)
easy_install-3.5 pytest-astropy pytest-xdist

PYTHONHASHSEED=42 python3 setup.py test --parallel=4

EOF
back to top