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

stages:
  - test

variables:
  DOCKER_DRIVER: overlay

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

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