.gitlab-ci.yml 586 Bytes
Newer Older
before_script:
  - export GIT_SSL_NO_VERIFY=1
  - git submodule sync --recursive
  - git submodule update --init --recursive
  - export PATH="$HOME/miniconda2/bin:$PATH"

test_python2:
  script:
    - conda env update -f environment.yml -n earthdiagnostics2 python=2
    - source activate earthdiagnostics
    - coverage run -m unittest discover

test_python3:
  script:
    - conda env update -f environment.yml -n earthdiagnostics3 python=3
    - source activate earthdiagnostics
    - coverage run -m unittest discover
    - coverage xml
    - python-codacy-coverage -r coverage.xml