diff options
| author | JF | 2019-07-09 14:56:21 -0700 |
|---|---|---|
| committer | jvoisin | 2019-07-09 14:56:21 -0700 |
| commit | 06346e19464c376c0c2ca13ef4218559f9df4212 (patch) | |
| tree | 94db98bcfbcd68dffdec0fa60239baef278510a8 /.gitlab-ci.yml | |
| parent | 9d155d171e916cd3c2c34f6c50955745f8929e79 (diff) | |
added a docker dev environment
Signed-off-by: Jan Friedli <jan.friedli@immerda.ch>
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a667620..9c2b39e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -23,6 +23,8 @@ tests:debian: | |||
| 23 | stage: test | 23 | stage: test |
| 24 | script: | 24 | script: |
| 25 | - apt-get -qqy update | 25 | - apt-get -qqy update |
| 26 | - apt-get -qqy install --no-install-recommends mat2 python3-flask python3-coverage | 26 | - apt-get -qqy install --no-install-recommends mat2 python3-flask python3-coverage python3-pip python3-setuptools |
| 27 | - python3-coverage run --branch --include main.py -m unittest discover | 27 | - pip3 install wheel |
| 28 | - pip3 install -r requirements.txt | ||
| 29 | - python3-coverage run --branch --include main.py -m unittest discover -s test | ||
| 28 | - python3-coverage report -m | 30 | - python3-coverage report -m |
