diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87aebece83817b8a02076730bfe6ade823851c0f..181964b7beb54653ebf069e12284094c8b10f16f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,21 +15,12 @@ variables: .check_code: cache: {} - image: usgs/centos:latest + image: ${DEVOPS_REGISTRY}usgs/conda:latest script: - - yum install -y wget which - - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - - bash miniconda.sh -b -p $HOME/miniconda - - export PATH="$HOME/miniconda/bin:$PATH" - - conda config --set always_yes yes --set changeps1 no - - conda update --yes conda - - conda info -a # Install Project Dependencies - conda config --add channels conda-forge - conda install python=${PYTHON_VERSION} obspy pycurl - pip install pipenv - - export LC_ALL=C.UTF-8 - - export LANG=C.UTF-8 - pipenv --site-packages install --dev --pre --skip-lock # Run Code Checks - pipenv run black --check .