summaryrefslogblamecommitdiff
path: root/.gitlab-ci.yml
blob: c15f91d9d598af681861d6c11d40aac21d2b4a3d (plain) (tree)
1
2
3

       
           












                       









                               



















                        
             
                  



                            
              
                  


                            

                  



























                           
stages:
- test
- integrity
- fail
- ok

image: debian:stable
before_script:
  - uname -a

testxml:
  stage: test
  script:
  - ./.tools/testxml.sh
  - pwd

pngcheck:
  stage: test
  script:
  - ./.tools/pngcheck.sh

imagemagiccheck:
  stage: test
  script:
  - ./.tools/imagemagiccheck.sh

manaplus:
  stage: test
  script:
  - ./.tools/manaplus.sh
  artifacts:
    paths:
    - shared
    when: always
    expire_in: 3 week

newlines:
  stage: test
  script:
  - ./.tools/newlines.sh
  artifacts:
    paths:
    - shared
    when: always
    expire_in: 3 week

contributors:
  stage: integrity
  script:
  - ./.tools/contributors.sh
  - pwd

.licensecheck:
  stage: integrity
  script:
  - ./.tools/licensecheck.sh

.pages:
  stage: integrity
  script:
  - ./.tools/deploy.sh
  - pwd
  artifacts:
    paths:
    - public
  only:
  - master

ok_job:
  stage: ok
  script:
  - pwd
  - echo $CI_BUILD_REF_NAME
  when: on_success
  dependencies: []
  variables:
    GIT_STRATEGY: none

fail_job:
  stage: fail
  script:
  - pwd
  - echo $CI_BUILD_REF_NAME
  when: on_failure
  dependencies: []
  variables:
    GIT_STRATEGY: none