Skip to content
Snippets Groups Projects
Commit e20a4f7d authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

Update .gitlab-ci.yml

parent c83f1cb6
No related branches found
No related tags found
3 merge requests!5Module Tapes : Try fixing bug 'Mixed Content The page at was loaded over...,!3Openshift deployment,!2Openshift deployment
Pipeline #58513 failed
......@@ -19,13 +19,13 @@ before_script:
stages:
- test
- deploy
##Test
job_test:
stage: test
script:
- echo "${ENV_TEST}" > .env
- echo "${env_test}" > .env
# Install composer
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --dev
......@@ -40,20 +40,6 @@ job_test:
# Tests
- vendor/bin/simple-phpunit --configuration phpunit.xml.dist
##Déploiement
job_deploy:
stage: deploy
script:
- echo "${ENV_TEST}" > .env
# Install composer
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
# Install yarn and assets
- npm cache clean -f
- npm install -g n
- n stable
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- npm install
- yarn encore dev
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment