.gitlab-ci.yml 490 Bytes
Newer Older
1
image: debian:testing
2 3
variables:
  DEBIAN_FRONTEND: noninteractive
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

test:
  script:
  - apt update
  - apt install -q -y python3-pip
  - apt build-dep -q -y ./
  - python3 -m pip install -U mypy
  - env python3 tests/testmanual_pep8.py
  - env MYPYPATH=$PWD/typehinting/ mypy ./apt
  - dpkg-buildpackage
  - make -C doc html
  artifacts:
    paths:
    - doc/build/html

pages:
  stage: deploy
  script:
  - mv doc/build/html/ public
  artifacts:
    paths:
    - public
  only:
  - master