Skip to content
Snippets Groups Projects
Commit 194e2864 authored by Maeva Pourpoint's avatar Maeva Pourpoint
Browse files

Update tox.ini and .gitlab-ci.yml to test Python 3 code updates

parent ce83ada0
No related branches found
No related tags found
1 merge request!5Porting Python 2 code to Python 3
Pipeline #890 passed with stage
in 52 seconds
......@@ -20,17 +20,26 @@ stages:
before_script:
- pip install -e .[dev]
python3.6:
image: python:3.6
tags:
- passoft
stage: test
script:
- python -m unittest
python2:
image: python:2.7
python3.7:
image: python:3.7
tags:
- passoft
stage: test
script: tox -e py27
script:
- python -m unittest
python3:
image: python:3.6
python3.8:
image: python:3.8
tags:
- passoft
stage: test
script: tox -e py36
script:
- python -m unittest
[tox]
envlist = py27, py36 flake8
[travis]
python =
2.7: py27
3.6: py36
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 ckmseed
envlist = py36, py37, py38
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands=python setup.py test
commands = python -m unittest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment