mktar: Use `wc` instead of `du` in summary message
[sunny256-utils.git] / .gitlab-ci.yml
blob3d3c42c8701e9cb33da9e332f302e1694878adda
1 # oyvholm/utils/.gitlab-ci.yml
2 # File ID: be09508c-8383-11e9-bed5-4f45262dc9b5
4 image: gcc
6 utils:linux:
7   stage: test
8   before_script:
9     - test "$CI_COMMIT_REF_NAME" = "synced/master" && exit 0 || true
10     - apt-get update -qq
11     - apt-get install -y
12         groff
13         texlive-base
14         sqlite3
15         exiftool
16         libnumber-bytes-human-perl
17         git-annex
18         bc
19         cmark
20         libxml2-utils
21     - git config --global user.name "Firstname Lastname"
22     - git config --global user.email "ci@example.com"
23     - git config --global safe.directory "*"
24     - git clone https://gitlab.com/oyvholm/suuid.git
25     - cd suuid
26     - script -e -q -c "make test install"
27     - cd ..
28     - rm -rf suuid
29   script:
30     - export PATH=$(pwd):$PATH
31     - make
32     - make test
33     - make test-clean