before_script:
  - sudo apt-get update -qq && sudo apt-get install -y -qq build-essential dpkg-dev libssl-dev debhelper
stages:
  - build


debian_386_amd64:
  stage: build
  script:
    - make debian-package
    - ARCH=i386 make debian-package
    - cp ../cronos*.deb .
    - rm ../cronos*
  only:
    - master
  artifacts:
    paths:
    - cronos*.deb
  tags:
    - debian
    - i386
    - amd64