Update .gitlab-ci.yml file
This commit is contained in:
parent
cd6b291e9e
commit
cb9536f5db
|
@ -32,6 +32,7 @@ synchro-et-tests:
|
||||||
echo "Test de $file"
|
echo "Test de $file"
|
||||||
stl log clean
|
stl log clean
|
||||||
stl check $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
|
stl check $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
|
||||||
|
stl check $file | grep "erreur de" && errors=$((errors+1)) # error if err is read in standard output
|
||||||
done
|
done
|
||||||
[ $errors -gt 0 ] && false
|
[ $errors -gt 0 ] && false
|
||||||
for file in $files
|
for file in $files
|
||||||
|
@ -40,8 +41,6 @@ synchro-et-tests:
|
||||||
stl log clean
|
stl log clean
|
||||||
stl check $file -F &> /dev/null
|
stl check $file -F &> /dev/null
|
||||||
stl check $file -F &> /dev/null
|
stl check $file -F &> /dev/null
|
||||||
stl check $file -F &> /dev/null
|
|
||||||
stl check $file -F &> /dev/null
|
|
||||||
done
|
done
|
||||||
- echo "Fin des tests."
|
- echo "Fin des tests."
|
||||||
|
|
||||||
|
@ -60,6 +59,8 @@ deploiement: # This job runs in the deploy stage.
|
||||||
echo "Construction de $file"
|
echo "Construction de $file"
|
||||||
stl log clean
|
stl log clean
|
||||||
stl wip $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
|
stl wip $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
|
||||||
|
stl wip $file | grep "erreur de" && errors=$((errors+1)) # error if err is read in standard output
|
||||||
|
stl wip $file | grep "Aucun fichier" && errors=$((errors+1)) # error if err is read in standard output
|
||||||
done
|
done
|
||||||
[ $errors -gt 0 ] && false
|
[ $errors -gt 0 ] && false
|
||||||
- echo "Déploiement terminé."
|
- echo "Déploiement terminé."
|
||||||
|
|
Loading…
Reference in New Issue