.gitlab-ci.yml 405 Bytes
Newer Older
Michal Horejsek's avatar
Michal Horejsek committed
1 2 3 4 5 6
# Copyright (C) 2017 CZ.NIC, z.s.p.o. <https://www.nic.cz>

image: debian:8

before_script:
  - apt-get --quiet update
Michal Horejsek's avatar
Michal Horejsek committed
7
  - apt-get install make
Michal Horejsek's avatar
Michal Horejsek committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
  - make prepare-dev

stages:
  - test
  - build


test:
  stage: test
  script:
    - make test

lint:
  stage: test
  script:
    - make lint


build:
  stage: build
  script:
    - make build
  artifacts:
    paths:
Michal Horejsek's avatar
Michal Horejsek committed
32 33 34
    - ./*.deb
    - ./*.rpm
    - ./*.tar