diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..7227e47293de65866bb397b7d9c24db83d17d50d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +anomalydetector: + image: continuumio/miniconda:4.7.10 + stage: build +# tags: +# - docker + before_script: + - conda init + - source ~/.bashrc + script: + - conda env create -f environment.yml + - conda activate my-env + - pytest tests/. diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000000000000000000000000000000000000..80e990552d5ef45fef7c954134db7a1f09cba1d0 --- /dev/null +++ b/environment.yml @@ -0,0 +1,8 @@ +name: my-env +channels: + - conda-forge + - defaults +dependencies: + - jupyterlab=0.35.* + - pip: + - pytest-cov==2.6.*