aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: d12d11969070be6fb902ec9d9baf55e6abb37d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: debian:sid

before_script:
- apt-get update -y
- apt-get install -y locales python3-pip virtualenv
- sed -i 's/# \(es_ES.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- sed -i 's/# \(en_US.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- sed -i 's/# \(eo.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- sed -i 's/# \(fr_FR.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- dpkg-reconfigure --frontend=noninteractive locales
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES

test_flake8:
  script:
    - virtualenv -p python3 venv
    - source venv/bin/activate
    - python --version
    - pip install flake8-per-file-ignores nose
    - flake8 .