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

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

parent 752fa5a1
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,8 @@ tests: ...@@ -33,6 +33,8 @@ 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"
...@@ -43,7 +45,7 @@ build_and_deploy_docs: ...@@ -43,7 +45,7 @@ build_and_deploy_docs:
- tests - tests
before_script: before_script:
- apt update - apt update
- apt install -y graphviz libgl1-mesa-glx xvfb graphviz xdg-utils libcairo2-dev libjpeg-dev libgif-dev - apt install -y libgl1-mesa-glx xvfb graphviz xdg-utils libcairo2-dev libjpeg-dev libgif-dev
- wget -nv https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/Miniconda3-latest-Linux-x86_64.sh - wget -nv https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/Miniconda3-latest-Linux-x86_64.sh
- bash /tmp/Miniconda3-latest-Linux-x86_64.sh -b -p /tmp/miniconda3 - bash /tmp/Miniconda3-latest-Linux-x86_64.sh -b -p /tmp/miniconda3
- export PATH=/tmp/miniconda3/bin:$PATH - export PATH=/tmp/miniconda3/bin:$PATH
......
[tox] [tox]
envlist = py36, py37, examples, notebooks, flake8, docs, coverage envlist = py36, py37, examples, notebooks, flake8
[travis] [travis]
python = python =
......
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