.gitlab-ci.yml 440 Bytes
Newer Older
Andreas Valder's avatar
Andreas Valder committed
1
before_script:
Andreas Valder's avatar
Andreas Valder committed
2
  - python3 -V
Andreas Valder's avatar
Andreas Valder committed
3 4 5 6 7 8 9 10 11 12 13 14 15
  - uname -a

unittest:
    image: debian:stretch
    stage: test
    script:
    - apt update
    - apt install -y sqlite3 python3 locales-all  python3-flask python3-ldap3 python3-requests python3-lxml python3-icalendar python3-mysql.connector python3-requests python3-coverage
    - ./tests.py
    - python3 -m coverage run tests.py; python3 -m coverage html
    artifacts:
        paths:
        - htmlcov/*