https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision a61c559044d1daaf139b49ae4c82d60c2e4de895 authored by Matthew Kolopanis on 14 May 2019, 23:03:19 UTC, committed by Bryna Hazelton on 22 May 2019, 18:57:04 UTC
1 parent dbaa7c0
Raw File
Tip revision: a61c559044d1daaf139b49ae4c82d60c2e4de895 authored by Matthew Kolopanis on 14 May 2019, 23:03:19 UTC
added tools:pytest to setup.cfg to ignore scripts directory
Tip revision: a61c559
install-circle.sh
set -xe

apt-get update; apt-get install -y gcc g++
conda config --set always_yes yes --set changeps1 no
conda update -q conda
conda config --add channels conda-forge
conda info -a
conda create --name=${ENV_NAME}  python=$PYTHON --quiet
conda env update -f ci/${ENV_NAME}.yml
source activate ${ENV_NAME}
conda list -n ${ENV_NAME}
# check that the python version matches the desired one; exit immediately if not
PYVER=`python -c "from __future__ import print_function; import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))"`
if [[ $PYVER != $PYTHON ]]; then
  exit 1;
fi
back to top