image: "ubuntu"

before_script:
  - apt-get update -qq && apt-get install -y -qq make curl libxml2-utils xsltproc unzip

stages:
  - build

build:
  stage: build
  script:
    - make
    - make test
  artifacts:
    paths:
    - bjcp-2015-styleguide-orig.xml
    - bjcp-2015-styleguide-de.xml
    - bjcp-2015-styleguide-orig.html
    - bjcp-2015-styleguide-de.html
    expire_in: 1 week