celerite version
@@ -27,26 +27,27 @@ steps:
displayName: 'Add conda to PATH'
- script: |
- #. $CONDA/etc/profile.d/conda.sh
+ . $CONDA/etc/profile.d/conda.sh
conda create --yes --quiet --name test python=$(python.version)
displayName: 'Create Anaconda environment'
- script: |
- #. $CONDA/etc/profile.d/conda.sh
+ . $CONDA/etc/profile.d/conda.sh
conda activate test
conda install -c conda-forge --yes --quiet --name test numpy scipy starry celerite
pip install -r requirements-dev.txt
displayName: 'Install dependencies'
- script: |
- #. $CONDA/etc/profile.d/conda.sh
+ . $CONDA/etc/profile.d/conda.sh
conda activate test
theano-cache purge
displayName: 'Purging Theano cache'
- script: |
- #. $CONDA/etc/profile.d/conda.sh
+ . $CONDA/etc/profile.d/conda.sh
conda activate test
+ python -c 'import theano, celerite; print(theano.__version__, celerite.__version__)'
pip install pytest-azurepipelines
py.test -v -s exoplanet
displayName: 'Testing'
