Select Git revision
.gitlab-ci.yml
.gitlab-ci.yml 4.13 KiB
stages:
- init
- test
- docs
- pages
### Static Badges ###
version:
stage: init
tags:
- leap
- zam347
- base
only:
- master
- tags
script:
- chmod +x ./CI/update_badge.sh
- chmod +x ./CI/create_version_badge.sh
- ./CI/create_version_badge.sh
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- badges/
### Tests (from scratch) ###
tests (from scratch):
tags:
- base
- zam347
stage: test
only:
- master
- /^release.*$/
- develop
- lukas_issue452_bug_update-proj-version
variables:
FAILURE_THRESHOLD: 100
TEST_TYPE: "scratch"
before_script:
- chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null
- source /opt/venv/bin/activate
script:
- pip install --upgrade pip
- 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=9.1.0
- zypper --no-gpg-checks --non-interactive install proj
- zypper --no-gpg-checks --non-interactive install geos=3.11.1
- 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
- pip install -r requirements.txt
- chmod +x ./CI/run_pytest.sh
- ./CI/run_pytest.sh
after_script:
- ./CI/update_badge.sh > /dev/null
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- badges/
- test_results/
### Tests ###