.gitlab-ci.yml 694 Bytes
Newer Older
Lukáš Krupčík's avatar
Lukáš Krupčík committed
1 2 3 4 5 6 7 8 9
stages:
  - test


docs:
  stage: test
  image: davidhrbac/docker-mdcheck:latest
  script:
  - mdl -r ~MD013 *.md
Lukáš Krupčík's avatar
Lukáš Krupčík committed
10 11 12 13

big_files:
  stage: test
  image: davidhrbac/docker-mdcheck:latest
Lukáš Krupčík's avatar
Lukáš Krupčík committed
14
  allow_failure: true
Lukáš Krupčík's avatar
Lukáš Krupčík committed
15
  script:
Josef Hrabal's avatar
Josef Hrabal committed
16
  - find . -type f -not -path "*.git*" -size +10M
Lukáš Krupčík's avatar
Lukáš Krupčík committed
17
  - find . -type f -not -path "*.git*" -size +10M -exec false {} +
Lukáš Krupčík's avatar
Lukáš Krupčík committed
18 19 20 21

other_files:
  stage: test
  image: davidhrbac/docker-mdcheck:latest
Lukáš Krupčík's avatar
Lukáš Krupčík committed
22
  allow_failure: true
Lukáš Krupčík's avatar
Lukáš Krupčík committed
23
  script:
Josef Hrabal's avatar
Josef Hrabal committed
24
  - find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md"
Lukáš Krupčík's avatar
Lukáš Krupčík committed
25
  - find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" -exec false {} +