Skip to content
Snippets Groups Projects
.gitlab-ci.yml 615 B
Newer Older
image: artefact.skatelescope.org/ska-tango-images/tango-itango:9.3.3.7
variables:
  PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
  # The PBR dependency requires a set version, not actually used
  # Instead `util/lofar_git.py:get_version()` is used.
  PBR_VERSION: "0.1"
cache:
  paths:
    - .cache/pip
stages:
  - linting
  - unit-tests
linting:
  stage: linting
  allow_failure: true
  script:
    - tox -e pep8
unit_test:
  stage: unit-tests
  before_script:
    - sudo apt-get update
    - sudo apt-get install -y git
  script: