.gitlab-ci.yml
changeset 50 73c12fd02e03
parent 48 8243580eb5c0
child 51 3ed12c7be8ff
equal deleted inserted replaced
49:cea63669705e 50:73c12fd02e03
    24         - ./bin/buildout
    24         - ./bin/buildout
    25 
    25 
    26 test:
    26 test:
    27     stage: test
    27     stage: test
    28     script:
    28     script:
       
    29         - apt-get install awk grep
    29         - pip install anybadge
    30         - pip install anybadge
    30         - mkdir ./coverage
    31         - mkdir ./coverage
    31         - ./bin/test --coverage coverage | tee ./coverage/coverage.log
    32         - ./bin/test --coverage coverage | tee ./coverage/coverage.log
    32         - GLOBAL_COVER=$(grep -e '^[[:space:]]*[[:digit:]]\+[[:space:]]\+[[:digit:]]\+\%' ./coverage/coverage.log | \
    33         - GLOBAL_COVER=$(grep -e '^[[:space:]]*[[:digit:]]\+[[:space:]]\+[[:digit:]]\+\%' ./coverage/coverage.log | \
    33               awk 'BEGIN { lines=0; cov=0 } \
    34               awk 'BEGIN { lines=0; cov=0 } \