Skip to content
Snippets Groups Projects
Commit dbfdfecb authored by u214892's avatar u214892
Browse files

#97 tox-conda #94 use miniconda instead of anaconda

parent c0adf2de
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,6 @@ tests: ...@@ -34,8 +34,6 @@ tests:
- conda install -c conda-forge tox-conda - conda install -c conda-forge tox-conda
script: script:
- xvfb-run tox -v --recreate - xvfb-run tox -v --recreate
# TODO: run docs and coverage seperately since they require make and graphviz
- xvfb-run tox -e docs,coverage -v --recreate
build_and_deploy_docs: build_and_deploy_docs:
image: "python:latest" image: "python:latest"
......
...@@ -21,7 +21,7 @@ commands = ...@@ -21,7 +21,7 @@ commands =
flake8 flatland tests examples benchmarks flake8 flatland tests examples benchmarks
[testenv:docs] [testenv:docs]
; TODO docs requires make and graphviz installed, therefore exclude Windows ; TODO https://gitlab.aicrowd.com/flatland/flatland/issues/33 docs requires make installed, therefore exclude Windows
platform = linux|linux2|darwin platform = linux|linux2|darwin
; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37 ; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37
basepython = python3.6 basepython = python3.6
...@@ -46,7 +46,7 @@ commands = ...@@ -46,7 +46,7 @@ commands =
make docs make docs
[testenv:coverage] [testenv:coverage]
; TODO coverage requires make, therefore exclude Windows ; TODO https://gitlab.aicrowd.com/flatland/flatland/issues/33 coverage requires make, therefore exclude Windows
platform = linux|linux2|darwin platform = linux|linux2|darwin
; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37 ; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37
basepython = python3.6 basepython = python3.6
...@@ -114,6 +114,7 @@ commands = ...@@ -114,6 +114,7 @@ commands =
python benchmarks/profile_all_examples.py python benchmarks/profile_all_examples.py
[testenv:examples] [testenv:examples]
; TODO should examples be run with py36 and py37??
; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37 ; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37
basepython = python3.6 basepython = python3.6
setenv = setenv =
...@@ -139,6 +140,7 @@ commands = ...@@ -139,6 +140,7 @@ commands =
python {toxinidir}/benchmarks/run_all_examples.py python {toxinidir}/benchmarks/run_all_examples.py
[testenv:notebooks] [testenv:notebooks]
; TODO should examples be run with py36 and py37??
; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37 ; use python3.6 because of incompatibility under Windows of the pycairo installed through conda for py37
basepython = python3.6 basepython = python3.6
setenv = setenv =
......
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