diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8fe9b087b1f0ca81e33183759caeeaa1b38d58c9..3c353e7351fa095397aee80f36fb30a06adca8cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,10 @@ tests: script: - export LC_ALL=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US) + - python -m pip3 install flake8 pytest pytest-cov + - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - pip3 install git+https://github.com/thibgo/randomscm.git@v0.0.0-alpha + - pip3 install git+https://github.com/multi-learn/scikit-multimodallearn.git - pip3 install -e . - pytest-3 coverage: '/^TOTAL.+?(\d+\%)$/' @@ -24,6 +28,10 @@ doc: script: - export LC_ALL=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US) + - python -m pip3 install flake8 + - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - pip3 install git+https://github.com/thibgo/randomscm.git@v0.0.0-alpha + - pip3 install git+https://github.com/multi-learn/scikit-multimodallearn.git - pip3 install -e .[doc] - sphinx-apidoc -o docs/source summit - cd docs/source @@ -45,6 +53,10 @@ pages: script: - export LC_ALL=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US) + - python -m pip3 install flake8 + - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - pip3 install git+https://github.com/thibgo/randomscm.git@v0.0.0-alpha + - pip3 install git+https://github.com/multi-learn/scikit-multimodallearn.git - pip3 install -e .[doc] - pytest-3 - sphinx-apidoc -o docs/source summit