.gitlab-ci.yml 565 Bytes
Newer Older
ale's avatar
ale committed
1 2 3 4 5 6 7 8 9
stages:
  - test
  - build_src
  - build_pkg
  - upload

run_tests:
  stage: test
  image: "ai/test:base"
ale's avatar
ale committed
10 11 12
  script:
    - "apt-get install -q -y libssl-dev"
    - "tox -e py27"
ale's avatar
ale committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

build:src:
  stage: build_src
  image: "ai/build:base"
  script: "build-dsc"
  artifacts:
    paths:
      - build-deb/

build:pkg:
  stage: build_pkg
  image: "ai/build:base"
  script: "build-deb"
  dependencies:
    - build:src
  artifacts:
    paths:
      - output-deb/

upload:pkg:
  stage: upload
  image: "ai/pkg:base"
  script: "upload-packages"
  dependencies:
    - build:pkg