Newer
Older
before_script:
- export GIT_SSL_NO_VERIFY=1
- export PATH="$HOME/miniconda2/bin:$PATH"
stages:
- prepare
- test
- report
- clean
prepare:
stage: prepare
script:
- conda update conda
stage: test
script:
- git submodule sync --recursive
- git submodule update --init --recursive
- conda env update -f environment.yml -n earthdiagnostics3 python=3.7
- source activate earthdiagnostics3
- git clone https://earth.bsc.es/gitlab/es/diagonals.git ../diagonals
- pip install ../diagonals
- '[ -z "$CODACY_PROJECT_TOKEN" ] && exit 0'
- python-codacy-coverage -r test/report/python3/coverage.xml
clean:
stage: clean
script:
- conda clean --all --yes