.gitlab-ci.yml 484 Bytes
Newer Older
Jait Dixit's avatar
Jait Dixit committed
1 2 3 4 5 6 7 8 9 10
image: ubuntu:latest

stages:
  - test

variables:
  DOCKER_DRIVER: overlay

before_script:
  - apt-get update
Theo Steininger's avatar
Theo Steininger committed
11
  - chmod +x ci/*.sh
12 13
  - ci/install_basics.sh
  - pip install --upgrade -r ci/requirements.txt
Martin Reinecke's avatar
Martin Reinecke committed
14
  - pip3 install --upgrade -r ci/requirements.txt
Martin Reinecke's avatar
Martin Reinecke committed
15
  - ci/install_pyHealpix.sh
Jait Dixit's avatar
Jait Dixit committed
16

17 18 19
test_min:
  stage: test
  script:
Martin Reinecke's avatar
Martin Reinecke committed
20
    - nosetests
Martin Reinecke's avatar
Martin Reinecke committed
21
    - nosetests3 -x --with-coverage --cover-package=nifty --cover-branches
Jait Dixit's avatar
Jait Dixit committed
22 23
    - >
      coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'