Skip to content
Snippets Groups Projects
Unverified Commit c92d5abf authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

deploy fix

parent fa02a85b
No related branches found
No related tags found
No related merge requests found
Pipeline #60942 failed with stages
in 4 minutes and 3 seconds
...@@ -6,8 +6,8 @@ pages: ...@@ -6,8 +6,8 @@ pages:
stage: build stage: build
image: zoo.smok.co/build/build:pages image: zoo.smok.co/build/build:pages
before_script: before_script:
- pip install --upgrade Cython setuptools pip - pip install --break-system-packages --upgrade Cython setuptools pip
- pip install -r requirements.txt - pip install --break-system-packages -r requirements.txt
- python setup.py build_ext --inplace - python setup.py build_ext --inplace
script: script:
- cd docs - cd docs
...@@ -24,7 +24,7 @@ pages: ...@@ -24,7 +24,7 @@ pages:
- pip install -r requirements.txt - pip install -r requirements.txt
- python setup.py build_ext --inplace - python setup.py build_ext --inplace
variables: variables:
CI: "1" TESTING: "1"
script: script:
- python -m coverage run -m nose2 -vv -F - python -m coverage run -m nose2 -vv -F
- python -m coverage report - python -m coverage report
......
...@@ -10,7 +10,7 @@ from setuptools import setup, Extension ...@@ -10,7 +10,7 @@ from setuptools import setup, Extension
directive_defaults = get_directive_defaults() directive_defaults = get_directive_defaults()
directive_defaults['language_level'] = '3' directive_defaults['language_level'] = '3'
macros = [] macros = []
if 'DEBUG' in os.environ or 'CI' in os.environ: if 'TESTING' in os.environ:
print('Enabling debug mode') print('Enabling debug mode')
directive_defaults['linetrace'] = True directive_defaults['linetrace'] = True
directive_defaults['profiling'] = True directive_defaults['profiling'] = True
......
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