diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5899b8aeaf509436cdc7f8ecfa5e404614243fd9..48559f888afb06e28f651e98b32da69f24605f62 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,3 +47,19 @@ build_and_deploy_docs: environment: name: ${CI_COMMIT_REF_SLUG} url: http://${BUCKET_NAME}.s3-website.${AWS_DEFAULT_REGION}.amazonaws.com/ + +benchmarks_and_profiling: + dependencies: + - tests + stage: tests + only: +# - master + variables: + - $BENCHMARKS_AND_PROFILING + script: + - apt update + - apt install -y libgl1-mesa-glx xvfb graphviz xdg-utils libcairo2-dev libjpeg-dev libgif-dev + - pip install tox + - xvfb-run tox -e benchmarks -v --recreate + + diff --git a/tox.ini b/tox.ini index a347bce1168da56a03ce5f09a292df7983653bbe..f933d793db188a5ccc5997ffde0dd63580cc90f3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36, py37, examples, notebooks, flake8, docs, coverage, benchmarks +envlist = py36, py37, examples, notebooks, flake8, docs, coverage [travis] python =