diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc617b2a303c3a009d27e5af2a8b3cdb6bd030fc..ec8cf5093de54a4cc555ae59fdb342932394a8a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,9 +5,10 @@ stages: .test: stage: test - script: + before_script: - pip install --break-system-packages --upgrade Cython setuptools pip coverage nose2 - pip install --break-system-packages -r requirements.txt + script: - python setup.py install - cd example - python setup.py bdist_wheel @@ -15,10 +16,16 @@ stages: test_python35: extends: .test image: python:3.5 + before_script: + - pip install --upgrade Cython setuptools pip coverage nose2 + - pip install -r requirements.txt test_python36: extends: .test image: python:3.6 + before_script: + - pip install --upgrade Cython setuptools pip coverage nose2 + - pip install -r requirements.txt test_python37: extends: .test