diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a59b5b91edbe7a918a80884cf9e38a5d70a8826..9d514f4e85fcb977c76248e63874f4208d4b38f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,9 +43,16 @@ tests (from scratch): - ./CI/update_badge.sh > /dev/null script: - pip install --upgrade pip - - pip install numpy wheel six==1.15.0 - - zypper --non-interactive install binutils libproj-devel gdal-devel - - zypper --non-interactive install proj geos-devel + # - pip install numpy wheel six==1.15.0 + - zypper --no-gpg-checks addrepo https://download.opensuse.org/repositories/Application:Geo/15.4/Application:Geo.repo + - zypper --no-gpg-checks refresh + - zypper --no-gpg-checks --non-interactive install proj=8.2.1 + - zypper --no-gpg-checks --non-interactive install geos=3.10.3 + - zypper --no-gpg-checks --non-interactive install geos-devel=3.9.1 + - zypper --no-gpg-checks --non-interactive install libproj22=8.2.1 + - zypper --no-gpg-checks --non-interactive install binutils libproj-devel gdal-devel + # - zypper --non-interactive install binutils libproj-devel gdal-devel + # - zypper --non-interactive install proj geos-devel # - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install - pip install -r requirements.txt - chmod +x ./CI/run_pytest.sh @@ -100,6 +107,7 @@ tests: before_script: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null + - source /opt/venv/bin/activate script: - pip install -r requirements.txt - chmod +x ./CI/run_pytest.sh