mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2025-01-27 02:24:21 +00:00
another one
This commit is contained in:
parent
5de80ada7c
commit
cc4989f1c3
1 changed files with 11 additions and 12 deletions
|
@ -5,6 +5,9 @@ services:
|
|||
variables:
|
||||
MYSQL_DATABASE: re2o
|
||||
MYSQL_ROOT_PASSWORD: re2o
|
||||
LANG: 'en_US.UTF-8'
|
||||
LC_ALL: 'en_US.UTF-8'
|
||||
LANGUAGE: 'en_US.UTF-8'
|
||||
|
||||
image: debian:stretch
|
||||
stages:
|
||||
|
@ -15,10 +18,6 @@ stages:
|
|||
|
||||
build:
|
||||
stage: build
|
||||
variables:
|
||||
LANG: 'en_US.UTF-8'
|
||||
LC_ALL: 'en_US.UTF-8'
|
||||
LANGUAGE: 'en_US.UTF-8'
|
||||
script:
|
||||
- apt-get -qq update
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales
|
||||
|
@ -29,19 +28,19 @@ build:
|
|||
|
||||
lint:
|
||||
stage: lint
|
||||
variables:
|
||||
LANG: 'en_US.UTF-8'
|
||||
LC_ALL: 'en_US.UTF-8'
|
||||
LANGUAGE: 'en_US.UTF-8'
|
||||
script:
|
||||
- apt-get -qq update
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales
|
||||
- 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
|
||||
- ./install_re2o.sh ci-setup
|
||||
- pylint3 --load-plugins pylint_django cotisations machines re2o logs topologie preferences search users || if [ $? -ne 1 ]; then exit 0; else exit 1; fi
|
||||
|
||||
|
||||
tests:
|
||||
stage: tests
|
||||
variables:
|
||||
LANG: 'en_US.UTF-8'
|
||||
LC_ALL: 'en_US.UTF-8'
|
||||
LANGUAGE: 'en_US.UTF-8'
|
||||
script:
|
||||
- apt-get -qq update
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales
|
||||
- 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
|
||||
- ./install_re2o.sh ci-setup
|
||||
- python3 manage.py test
|
||||
|
|
Loading…
Add table
Reference in a new issue