trying things
@@ -26,32 +26,26 @@ steps:
. $CONDA/etc/profile.d/conda.sh
displayName: 'Add conda to PATH'
-#- task: UsePythonVersion@0
-# inputs:
-# versionSpec: '$(python.version)'
-# displayName: 'Use Python $(python.version)'
-
- 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
- #python -m pip install --upgrade pip
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
pip install pytest-azurepipelines
py.test -v -s exoplanet
