Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.4 KiB
Newer Older
  • Learn to ignore specific revisions
  • image: archlinux:latest
    
    stages:
    
      before_script:
        - pacman -Syu --needed --noconfirm make flake8 mypy python-black python-isort
    
      before_script:
    
        - pacman -Syu --needed --noconfirm make python sequoia-sq python-coverage python-pytest python-tomli
    
      only:
        changes:
          - keyringctl
    
      coverage: '/TOTAL.*\s([.\d]+)%/'
    
          coverage_report:
            coverage_format: cobertura
            path: build/coverage.xml
    
      before_script:
    
        - pacman -Syu --needed --noconfirm make python sequoia-sq
    
      script:
        - make
        - make install PREFIX=/usr
        - pacman-key --init
        - pacman-key --populate archlinux
        - pacman-key --updatedb
        - pacman -Syu
    
    
    keyring_check:
      stage: test
      needs: []
      before_script:
    
        - pacman -Syu --needed --noconfirm make python sequoia-sq git
    
          - keyringctl
          - libkeyringctl/*
          - tests/*
          - .gitlab-ci.yml
          - Makefile