https://github.com/astropy/astropy
Raw File
Tip revision: 552a2de83e23b89192a91b423eb69d35ef5424df authored by Erik Tollerud on 23 December 2016, 05:32:06 UTC
Preparing release v1.3
Tip revision: 552a2de
.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-32bit-test-env:1.7 \
                        bash || exit $?

cd /astropy_src

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

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

python setup.py test

EOF
back to top