Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-12 15:32:34 +00:00
parent 5c3c851237
commit 33fdb10912
1 changed files with 4 additions and 6 deletions

View File

@ -27,9 +27,8 @@ synchro-et-tests:
for file in $files for file in $files
do do
echo "Test de $file" echo "Test de $file"
std=$(stl check $file) stl check $file
echo $std stl check $file | grep Err && false# return false if error is read in standard output
echo $std | grep Err && false# return false if error is read in standard output
done done
- echo "Fin des tests." - echo "Fin des tests."
@ -43,9 +42,8 @@ deploiement: # This job runs in the deploy stage.
for file in $files for file in $files
do do
echo "Construction de $file" echo "Construction de $file"
std=$(stl wip $file) stl wip $file
echo $std stl wip $file | grep Err && false
echo $std | grep Err && false
done done
- stl sync - stl sync
- echo "Déploiement terminé." - echo "Déploiement terminé."