This commit is contained in:
Erik Frojdh 2020-02-12 09:05:34 +01:00
parent 4dc4c1ec0a
commit d8436da540

View File

@ -18,25 +18,22 @@ install:
- ldd --version - ldd --version
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda - bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH" # - export PATH="$HOME/miniconda/bin:$PATH"
- rm -f miniconda.sh - rm -f miniconda.sh
- hash -r - hash -r
- conda config --set always_yes yes --set changeps1 no - conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge - conda config --add channels conda-forge
- conda config --add channels slsdetectorgroup - conda config --add channels slsdetectorgroup
- conda update conda - conda update -n base -c defaults conda
- conda update --all
- conda install conda-build=3.17
- conda install anaconda-client
- conda install conda-verify
# Useful for debugging any issues with conda # Useful for debugging any issues with conda
- conda info -a - conda info -a
- conda create -q -n testenv python=$CONDA_PY
- conda activate testenv
# Replace dep1 dep2 ... with your dependencies - conda install conda-build
- conda create -q -n test-environment python=$CONDA_PY - conda install anaconda-client
- source activate test-environment - conda install conda-verify
- conda-build . - conda-build .
script: script: