Commit b66b6fc2 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Update .gitlab-ci.yml file

parent f5ca7f2b
Loading
Loading
Loading
Loading
Loading
+20 −20
Changes for .gitlab-ci.yml: 20 added lines, 20 removed lines.
Original line number Diff line number Diff line
@@ -8,29 +8,29 @@ variables:
  PHP_DIR: php
  JS_DIR: js

install_php:
  stage: install
  script:
    - cd $PHP_DIR
    - composer install --no-interaction --prefer-dist
#install_php:
#  stage: install
#  script:
#    - cd $PHP_DIR
#    - composer install --no-interaction --prefer-dist

install_js:
  stage: install
  script:
    - cd $JS_DIR
    - npm ci
#install_js:
#  stage: install
#  script:
#    - cd $JS_DIR
#    - npm ci

test_php:
  stage: test
  script:
    - cd $PHP_DIR
    - ./vendor/bin/phpunit
#test_php:
#  stage: test
#  script:
#    - cd $PHP_DIR
#    - ./vendor/bin/phpunit

test_js:
  stage: test
  script:
    - cd $JS_DIR
    - npm run test
#test_js:
#  stage: test
#  script:
#    - cd $JS_DIR
#    - npm run test

build_js:
  stage: build