.gitlab-ci.yml 597 Bytes
Newer Older
1 2 3
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0:

variables:
4
  ARCH_PKGS: 'flake8 python-parse python-pyudev python-pypandoc pandoc'
5 6

.default_setup:
7
  image: archlinux/base
8
  before_script:
9 10 11
    - pacman -S --refresh
    - pacman -S --sysupgrade --noconfirm
    - pacman -S --noconfirm $ARCH_PKGS
12 13 14 15 16 17 18 19 20 21 22 23 24 25

flake:
  extends: .default_setup
  script:
    - python3 setup.py flake8

install:
  extends: .default_setup
  script:
    - python3 setup.py install

install_no_man_pages:
  extends: .default_setup
  script:
26
    - pacman -R --noconfirm pandoc python-pypandoc
27
    - python3 setup.py install