.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
Theo Steininger's avatar
Theo Steininger committed
16

Jait Dixit's avatar
Jait Dixit committed
17

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