skipping conda
@@ -21,20 +21,13 @@ steps:
git submodule update --init
displayName: 'Submodules'
-- script: |
- sudo chown -R $USER $CONDA
- . $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 create --yes --quiet --name test python=$(python.version)
- displayName: 'Create Anaconda environment'
-
-- script: |
- . $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'
@@ -45,9 +38,37 @@ steps:
displayName: 'Purging Theano cache'
- script: |
- . $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'
+
+#- script: |
+# sudo chown -R $USER $CONDA
+# . $CONDA/etc/profile.d/conda.sh
+# displayName: 'Add conda to PATH'
+
+#- script: |
+# . $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 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 activate test
+# theano-cache purge
+# displayName: 'Purging Theano cache'
+
+#- script: |
+# . $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'
