diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c678f3d938e5d0c89df9d3c33c6d7657211c4b64..4a30c8ee74b0e47ebf4f5d4cc356503c31e6be38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,7 @@ image: debian:stable -deps: - stage: build - script: apt-get update && apt-get install -y php-cli build-essential make && make dependencies +before_script: apt-get update && apt-get install -y php-cli build-essential make && make dependencies -perl: +sytax: stage: test - script: perl -c src/tetras-back && perl -c src/configuration.pl - -php: - stage: test - script: for f in src/www/*.php; do php -l $f; done + script: perl -c src/tetras-back && perl -c src/configuration.pl && for f in src/www/*.php; do php -l $f; done