8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-21 19:03:11 +00:00

Update .gitlab-ci.yml

This commit is contained in:
chirac 2017-12-17 16:31:21 +01:00
parent 0f97de12a5
commit a3d42fe553

View file

@ -11,7 +11,7 @@ lint:
LANGUAGE: 'en_US.UTF-8' LANGUAGE: 'en_US.UTF-8'
script: script:
- apt-get -qq update - apt-get -qq update
- DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales python3-pip python3-django python3-pylint-django - DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales python3-django python3-pylint-django
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
- pylint3 --load-plugins pylint_django cotisations machines re2o logs topologie preferences search users || if [ $? -ne 1 ]; then exit 0; else exit 1; fi - pylint3 --load-plugins pylint_django cotisations machines re2o logs topologie preferences search users || if [ $? -ne 1 ]; then exit 0; else exit 1; fi