image: python:latest stages: - tests - after-tests before_script: - pip install tox py3: before_script: - apt-get update - apt-get install texlive-latex-recommended -y - pip install tox stage: tests script: tox -e py3 py3-from-forge: before_script: - apt-get update - apt-get install texlive-latex-recommended -y - pip install tox stage: tests script: tox -e py3-from-forge check-manifest: stage: tests script: tox -e check-manifest black: stage: tests script: tox -e black flake8: stage: tests script: tox -e flake8 mypy: stage: tests script: tox -e mypy trigger-other-pipelines: only: refs: - branch/default except: variables: - $TRIGGERED_FROM_OTHER_PROJECT stage: after-tests script: # regarding the " everywhere when there is a '%': yaml is extremly weird when % are involved - curl -X POST -F "variables[TRIGGERED_FROM_OTHER_PROJECT]=true" -F token=$CUBICWEB_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/385/trigger/pipeline -w "\nhttp code:"\ "%{http_code}\n" -f